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.5 i386/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.
Well ... it must have been something different. On my fresh installation of virtualbox, it behaved differently. The action buttons ignored my setting (I think this is the known bug described above), but the logout process in the main menu behaved like the selection in that dialog (I think this is what you described).
So, I wiped my home directory (except Documents etc ...) and now it works on the real machine as it did on the virtualbox.
Looks like there was something left over from my old XFCE settings: When I installed Arch, I copied over my complete home directory from the Xubuntu partition.
But still I think that the action buttons really need to be fixed so they work like the menu. And the checkbox in the menu-based logout dialog should either be removed or kind of "linked" to the one in the settings.
Any progress or fix on this. I just installed ubuntu 14.04 with xfce4.10. Any, no matter what I do I get sessions saved. I DON'T WANT SESSIONS TO BE SAVED.
I have installed Xubuntu 14.04 (clean install after format) on some computers and in any case I can confirm that sessions are not saved. Maybe u upgraded from 13.10?
OMG! They still didn't fixed this?
I just installed Xubuntu 14.04 and I can CONFIRM that the bug is still there.
My sessions are saved automatically no matter if the option is checked or not.
I just made a clean install, clean home directory, no upgrade from older versions.
I've also encountered this bug when I installed Xubuntu 14.04. I solved this problem by simply deleting the ~/.cache directory where sessions are saved. Xubuntu never saved my sessions unexpectedly after this procedure.