I'm having some recent trouble with xfce4. I posted this topic yesterday, you can find my post at:
In short, its the following:
If i shut down my system, xfce4 saves automatically the session and reopens all windows at next boot. I do not want this behaviour, but have no idea how to inhibit it. This behaviour is new since the last update.
I am using xfce4, lxdm and archlinux.
Well, I'm using Xubuntu, but it should be the same.
There are two places I know of that mention Saving your session. One is when you log out. Here is Xubuntus Log Out screen.
If the line Save session for future logins is check-marked, un-check it.
Also, in either Settings Manager, or in the menu as Session and Startup, there is another entry:
As you have seen, I've unchecked both.
Hope this helps. Just remember to close all windows before quitting.
Last edited by SantaFe (2013-05-23 15:48:55)
I use Xfce. Don't you wish Everyone did?
thanks for your reply!
I have checked all those GUI-Settings and they all look fine.
Indeed, xfce4 does not save the session when i log out (it never did), but only if i shut down the computer directly with shutdown -h now. I couldnt find any other post on the net describing this.
I downgraded three xfce4 packages:
The downgraded versions are:
The versions this trouble started with were:
Downgrading these three packages could _not_ fix it.
Could it have something to do with... I am not real clear on exactly what it was, but I seem to remember once reading that "shutdown -h" wasn't technically a "turn off the computer," but instead brings down the system and either powers off or halts (thus the -h), choice being left up to the system. Seems like halt was something akin to suspend, so in that case it would make sense to save current session information. The bit about "choice being left up to the system," if I'm actually remembering any of this correctly, would cause me to assume that there is a setting somewhere which determines what results happen when the command gets called. And if all of that conjecture is right, lol, I wonder if instead of a simple one-or-the-other variable, it's more configurable than that and if something got misconfigured.
BtW, have you tried "shutdown -p" or using the "poweroff" (with or without the -n option, but be aware that this option is to "Prevent the sync before reboot or halt," which may cause more than just your session - such as, possibly, whatever data is in your hard disk's cache waiting to be written, IDK - to not be written and might, therefore, bring unwanted results.
Also, since you believe that this change in behavior is linked to an update... is there a log file (or several) that lists changes to the system related to updates over and above merely listing which new versions of files were downloaded and installed? IOW, something that would list in no uncertain terms any changes to configurations files and the like?
MDM, this was the right direction!
I could observe the following:
shutdown -h now: Computer saves session, then turns off.
shutdown -H now: Computer halts, i had to manually power off, session was not saved
shutdown -P now: Computer does not save the session and turns power off.
shutdown now: Computer does not save the session (but firefox does!) and turns power off.
poweroff showed similar behaviour than shutdown -P now.
Any data which is still written at the moment were doomed anyway (the only exception was -H), no matter which option i gave shutdown.
Yes, there are logfiles for the update. I am using arch and i did not updated for at least 2 months, so its about 2GB of data, including the kernel ^^ this is about a fifths of the data of all programs on my pc. If you put out all programs i would not connect with this problem, the other would be
several xfce4 packages
To come to an end:
I replaced 'shutdown -h now' by 'shutdown now'. I wasn't able to "repair" the xfce4-panel shutdown button, so i build my own panel button with shutdown now. This is fine for me.