CANNOT disable session saving.

Asked by Bracken

=== Summary ===
I am unable to disable session saving in Xubuntu 9.04.

=== System information ===
Xubuntu 9.04 (fully up to date as of defect creation date)
ASUS EEE 901

=== Test Details ===
Disable the session saving by:
-Uncheck "Automatically save session on logout" in the "General" tab of "Session and Startup".
-With some programs started, log out, making sure "Save session for future logins" is unchecked.
-Login.

=== Expected Results ===
The XFCE desktop like the very 1st login will load, plus applications in the "Application Autostart" tab of "Sessions and Startup.

=== Actual Results ===
My Previous session loaded.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xfce4 Edit question
Assignee:
No assignee Edit question
Solved by:
Charlie Kravetz
Solved:
Last query:
Last reply:

This question was originally filed as bug #378797.

Revision history for this message
Charlie Kravetz (charlie-tca) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

Revision history for this message
Best Charlie Kravetz (charlie-tca) said :
#2

To completely disable and revert to the original default session, you have to delete the previously saved session as well as not save future sessions. The steps you took will insure future sessions are not saved. Now please delete the cache files to remove the sessions that were already saved.

To delete the cache files:
rm -rf ~/.cache/sessions

Log out and log back in. This should now be the default desktop session.

Revision history for this message
Bracken (abdawson) said :
#3

Blimey, that's quite poor. It did fix my issue.

If a week into using Xubuntu, someone has the wastebasket open when they logout, then the next time they login, they decide they don't want to have session saving, because their wastebasket just loaded. They will uncheck the boxes, but the last session remains, and they get the wastebasket loading forever after. Which was what made them want to disable session saving in the 1st place.

Would a better behaviour not be to delete saved sessions either when disabling session saving, or when logging out with session saving disabled? Maybe just a "delete previously saved sessions" button next to the checkbox, allowing users to create a session, then always use it if they like?

Revision history for this message
Bracken (abdawson) said :
#4

Thanks Charlie Kravetz, that solved my question.