I unchecked "Automatically save session on logout" and cleaned old sessions in ~/cache/sessions. When I logout via sessions menu and relogin, not session is found in ~/cache/sessions. When the option "Prompt on logout" is checked, logout provides additional features like restart or shutdown. If I use one of them again no session is saved. So fare so good.
However, clicking restart or logout directly in the sessions menu top menu (not this one via logout submenu) still does save sessions. The action items must be differently configured. I do not think that is a wanted behaviour.
The logout/restart from Session menu and the one in Panel, does the same thing, but don't use exactly the same source code. So this may be a bug in the Panel's logout plugin. See :
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
I'm having the same issue.
I use xubuntu and XFCE ppa (http://ppa.launchpad.net/xubuntu-dev/xfce-4.10/ubuntu)
Since the last updade, independently of my option, XFCE ALWAYS saves session
An ugly workaround is to make read only the folder ~/.cache/sessions/
Hope they fix it soon.
Last edited by mtbrandao (2013-06-01 00:36:51)
Same problem since the last xfce 4.10 update
I confirm I have this problem too on Xubuntu 13.04.
I solved with a simple script in /etc/init.d called from /etc/rc6.d which clean up the content of ~/.cache/session
Hope XFCE 4.12 will be released soon, I can't wait anymore.
I noticed that when you log out that there is a checkbox for saving the session. Uncheck it and see if that does it.
Unfortunately not. I have unchecked it and ist still keeps on saving the session. I'm logging out via the "Logout" action button.
Maybe go into xfce4-settings-manager and look at Session and Startup and see if
Automatically save session on logout is checked.
This is unchecked also.
I'm currently using XFCE 4.10 on Arch Linux.
Before that, I used 4.08 on Xubuntu, where everything worked as expected.
Sometimes, I logout by clicking the "shutdown" action button. This also saves the current session although the check is not set in the settings.
Last edited by tuxolero (2014-03-03 22:30:38)
Wow. That's... gritty. Glad I'm still on 4.08.
Debian 7.4 AMD64/Xfce 4.8
I see my post didn't make it.
This suggestion came from an old post.
April 27th, 2012, 03:02 AM
I think you're caught in a loop. Try this.
1. Log out with checkbox unchecked
2. Go to the first tty (Ctrl+Alt+F1), login and run:
rm -rf ~/.cache/sessions
3. Go back to the gui (Ctrl+Alt+F7) and log in again
4. Test it
Just removing the saved session will not help me.
I want a session, but a manually saved session and not a session that is saved on "logout" or "shutdown".
BTW: There is a button "Delete saved sessions" and if I click it, ~/.cache/sessions is empty. But only until I logout. And if I manually save a session, it will be overwritten when I "logout" or "shutdown".
And if "logout" or the implicit lgout on "shutdown" would respect my setting (check is not set), there would be no need to do anything with ~/.cache/sessions.
Now this is a far far far out idea.
Disable the login manager, e.g. Lightdm, GDM, etc. When you boot up you then just be at the command line.l Start xfce from there, I believe it to be startxfce4
When you logout I don't think any session will be saved. I could be wrong and probably am this time, but, what do ya think.
OK, this could be a workaround. But I still think the action button behaviour needs to be fixed.
I'm curious, could you let us know if that works?
Yes, i will ... but it will take a few days. I'm going to test it in a virtual machine first before changing my system configuration.
And at the moment, I don't have a virtual machine ready with the same system setup as my real one.
I look forward to your reply.