Several times over the last 48 hours I have had to reboot my way out of an XFCE4 hang where the mouse and keyboard cease responding in the GUI.
A pattern has emerged whereby this happens just after I have taken a screenshot using xfce4-screenshooter
.
On @aquaherd's advice I found that sudo service lightdm restart
did at least remove the need for a full reboot.
Is there any way I can fix this problem ?
Original Question
Several times over the last 24 hours I have had to reboot my way out of an XFCE4 hang where the mouse and keyboard cease responding in the GUI.
When this happens I am able to use ctrl
-alt
-f1
to get to TTY1 and I can login there by any attempt to bring xfce down (such as xfwm4 --replace
, xfce4-session-logout
or sudo service dbus restart
) ultimately results in me having to issue a reboot command.
I've seen some indication that the hang might be dbus related (sorry I didn't take a specific note).
Also I think both of the latest problems have occurred within a few seconds of me taking a screenshot.
I would like suggestions on what I can do to pin the problem down and fix it.
Thanks
top
to find out if an application consumes all CPU or memory, viewing~/.xsession-errors
,dmesg
output and usingsudo service lightdm restart
as last measure comes to mind.