I know a couple of bugs have been filed about this, but one of my machines simply will not save sessions. This is a dealkiller for me, as I always have alot going on. It just comes up with a blank desktop and panel every time.
I've tried checking Save Sessions, and unchecking with it checked in logout. I've tried Sessions|ManuallySave, and nothing works.
While I'm at it, on the other machine (which sort of saves sessions) when I run Apps|Accessories|RootTerminal, size the window, then log out/in, the terminal is no longer root, but my user. And it never restores the Iceweasel window, much less the webpage it was on.
Why can't xfce keep track of these things? Does anyone know how the internals of this are actually supposed to work?
Last edited by Quantum (2012-10-15 21:05:44)
Try to clean/delete ~/.cache
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
- logged out
- sshed over and deleted everything in ~/.cache/*
- logged in
- started root terminal, gksu thunar, synaptic, and iceweasel on startpage.com
- logged out
- logged in and,
... clear desktop.
Any idea of the mechanism?
I had a similar problem with one of my setups a while back, and it turned out that X was crashing during the log out process before the config files could be written. In Xubuntu (not sure of other distros), user Xsession errors are logged to ~/.xsession-errors and I was able to see when and where the system was crashing.
You might also want to check the permissions on the ~/.config/xfce4 files and directories to make sure that you have the necessary permissions to write there.
Well done ToZ. I'm getting a cavelcade of errors:
Thunar: Fatal IO error 11 (Resource temporarily unavailable) on X server :68.0.
xfce4-terminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :68.0.
synaptic: Fatal IO error 0 (Success) on X server :68.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :68.
xfce4-clipman: Fatal IO error 11 (Resource temporarily unavailable) on X server :68.0.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
kerneloops-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :68.0.
system-config-printer-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :68.0.
Looks like they all have the same provenance, but no idea what could be causing it.
Last edited by Quantum (2012-10-16 16:29:51)
Ya, nothing wrong there. Only seemingly significant errors are in .xsession-x2go-error.
Maybe X is not crashing. For some reason it's not saving sessions. The only errors I have are above in #5
This is Debian Testing.
Unluckily, starting with a new user does the same thing. It can not remember the prior session.
This is on one of my machines, but not the other. I've made sure both have the same settings. I have one more machine to convert to XFCE, and it absolutely MUST save sessions. I'd better wait.
I have several 'flavors' of wheezy xfce installed. All installs use the same mozilla profile. All of them save sessions (more or less) but only one saves the 5 iceweasel windows that I always keep open on several desktops. Sure, I can restore them with the session manager addon but it's easier to do it with xfce sessions.
The working session configuration has this entry which is absent in the other two:
Priority 50 PID xxxx Program firefox-bin Restart Style if running
I have checked the installed packages on all three and can't see what might be missing. I have also looked for a configuration file that I might be able to tweak but no luck.