You are not logged in.
Pages: 1
Hello!
I have a strange problem, it started 3-4 days ago. Shortly after I log into my account, my windows lose their titles and the top bar (with windows buttons, clock, etc) disappears.
It can be fixed by running 'xfwm4' in terminal on the graphical screen (not in Ctrl-Alt-Fx). Sometimes it is tricky because terminal window does not want to get input - the words I type are going into some other app.
What I tried to do:
1) Remove XFCE sessions. Works first time, second login have the same problems.
2) Reset XFCE settings by removing settings file. Did not help.
3) Switch from LXDM to LightDM. Worked first time, second login have the same problems.
Xorg.0.log: http://pastie.org/private/5lj19zzkodg7kaaw42wg
dmesg: http://pastebin.com/xBakDc5S
lightdm.log: http://pastie.org/private/rdxi3ab9h9cx7iuu3zef6q
x-0-greeter.log: http://pastie.org/private/gaky6igwxgfgj4redkmvbg
x-0.log: http://pastie.org/private/qvpfclcb7w7u8slfhsppg
x-1-greeter.log: http://pastie.org/private/gg6szjcn4vsqpcwtkaya
x-1.log: http://pastie.org/private/cycsfcrseu7pfjxpcgpcw
Please, help me. How can I fix this?
Offline
According to your lightdm logs, it looks like lightdm is logging to ~/.xsession-errors. There might be something useful in there. If the log file gets overwritten on every log in, you'll have to grab it after a crash and before you log in again.
Did you add anything to your autostart at about the time the crashing started?
Offline
.xsession-errors: http://pastie.org/private/9i1iiuo64eupdd9r5kavpq
> Did you add anything to your autostart at about the time the crashing started?
Yes, I switched from dcompmgr to compton and added megasync.
Offline
Disabled composition managers (including built-in xfwm4 manager) and removed sessions. Problem stays alive.
.xsession-errors: http://pastie.org/private/ysedzvvqxht4kzl0xd2ew
Offline
I haven't had any recent experience with compton, but if I remember correctly, you need to have xfwm4 running and the compositor disabled (Settings Manager > Window Manager Tweaks > Compositor tab) and "compton -b" as an autostart entry. The two will co-exist, xfwm4 as the window manager and compton as the compositor.
Offline
Alas, my problem stays even without any compositor... =-(
Offline
In post #4 you stated that you disabled xfwm4. How did you do that? Did you re-enable it?
What files do you have in ~/.config/autostart?
Can you post back the contents of ~/.xsession-errors?
Also, what are the results of:
ps -u $USEROffline
> In post #4 you stated that you disabled xfwm4. How did you do that? Did you re-enable it?
I disabled not xfwm4, but included xfwm4 compositor - by Settings Manager > Window Manager Tweaks > Compositor tab. No, I did not re-enabled it.
> What files do you have in ~/.config/autostart?
ls ~/.config/autostart
'cairo-compmgr &.desktop' compton.desktop dcompmgr.desktop megasync.desktop
But I disabled 'cairo-compmgr &.desktop' and dcompmgr.desktop in XFCE GUI settings. Should I kill them physically? Will it help?
> Can you post back the contents of ~/.xsession-errors?
Now, with compton enabled back, it looks like: http://pastie.org/private/4q5qiv4embxzneeesjgaq
> ps -u $USER
http://pastie.org/private/ju3ckexvn1ztmmld6pfxaw
Offline
From your ~/.xsession-errors:
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
...would seem to indicate that another window manager is running though I don't see one listed.
Try deleting (or moving if you want to save them) the "cairo-compmgr &.desktop' compton.desktop dcompmgr.desktop" files from ~/.config/autostart.
Then, while not logged in, manually clear the sessions cache by deleting the ~/.cache/sessions folder. Log back in and see what happens. Post back ~/.xsession-errors again.
Offline
Removed, cleared, rebooted, logged back. Title did not disappear (maybe it is single-time fix like always when sessions are cleared).
~/.xsession-errors: http://pastie.org/private/w3ptkr4ztglu8jqs8bcngg
ps -u $USER: http://pastie.org/private/thssludu53zuj1r2yy2tew
Offline
After reboot crashed again.
Before re-launch of xfwm4: http://pastie.org/private/i8ysxblrouefrblbijcjcg
After: http://pastie.org/private/lj2ylfrkmadgqbmiw5muq
Basically, all errors are generated by first, not second xfwm4 instance.
Last edited by ought (2016-06-06 12:52:30)
Offline
A few questions:
1. Are you running Xfce locally (as opposed to vnc or remote desktop connection)?
2. When you log out, do you have the "Save sessions" checkbox checked or Settings Manager > Session and Startup > General > "Automatically save sessions on logout" enabled?
3. If you are still using lightdm, which entries exist in /usr/share/xsessions, which session are you using to login, and what is on the "Exec=" line for that session's .desktop file?
If you disable all display managers and start Xfce via "startxfce4" from the command line, does it work any better?
Offline
1. Yes.
2. Yes, I have the "Save sessions" checkbox checked.
3. Only xfce.desktop . Exec=startxfce4 .
Ok, will try it now.
Last edited by ought (2016-06-06 13:35:06)
Offline
> If you disable all display managers and start Xfce via "startxfce4" from the command line, does it work any better?
Yes, two reboots and no crashes!
I still want to use any DM for convenience, but this is certainly an improvement. Thanks!
Offline
You seem to have an issue with session saving and I'm not sure why? You can disable session saving if that's an option.
Offline
Sure, I'll try it. But I like this feature and strongly want my sessions to be auto-saved...
Anyways, thank you for your help!
Offline
In that case, check to make sure that Xfce is exiting properly. Once you log out, make a copy of ~/.xsession-errors (before you log back in again). There might be something at the end of that file that could indicate a corruption while saving the session files.
Offline
Pages: 1