Xubuntu 20.04: stuck in resume/suspend/resume/suspend loop
Posted: Tue Mar 08, 2022 9:00 pm
[PROBLEM]
On Xubuntu 20.04.3, I've ran into a very strange and very annoying problem:
Whenever I tried to resume from suspend mode, it showed the login prompt for a few seconds - but keyboard input was only possible for a few seconds - then it went back to sleep (suspend) again. This loop went on for arbitrary number of times.
I often hit Ctrl+Alt+F1 to get a shell login, which seemed to help breaking the loop - but it was arbitrary and frustrating.
When getting to the Ctrl+F7 GUI login, the following error message was shown (see attached screenshot):
[SOLUTION]
Thanks to a post on reddit which hinted that it may be the session cache causing these hickups, I've done the following:
Closed all applications, except for a terminal, then removed all session cache files:
Puh.
Seems to have done the trick.
Now I can get back on resume after suspend.
I hope it stays that way.
Links:
https://appuals.com/how-to-clear-out-xfce4-sessions/
On Xubuntu 20.04.3, I've ran into a very strange and very annoying problem:
Whenever I tried to resume from suspend mode, it showed the login prompt for a few seconds - but keyboard input was only possible for a few seconds - then it went back to sleep (suspend) again. This loop went on for arbitrary number of times.
I often hit Ctrl+Alt+F1 to get a shell login, which seemed to help breaking the loop - but it was arbitrary and frustrating.
When getting to the Ctrl+F7 GUI login, the following error message was shown (see attached screenshot):
GDBus.Error:org.freedesktop.DBus.InvalidArgs: Type of message, "(yb)", does not match expected type "(b)"
[SOLUTION]
Thanks to a post on reddit which hinted that it may be the session cache causing these hickups, I've done the following:
Closed all applications, except for a terminal, then removed all session cache files:
Code: Select all
$ rm ~/.cache/sessions/*
Puh.
Seems to have done the trick.
Now I can get back on resume after suspend.
I hope it stays that way.
Links:
https://appuals.com/how-to-clear-out-xfce4-sessions/