Xubuntu 20.04: stuck in resume/suspend/resume/suspend loop

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 370
Joined: Tue Nov 12, 2013 2:05 am

Xubuntu 20.04: stuck in resume/suspend/resume/suspend loop

Post by peter_b »

[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):
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/
Attachments
Error message when finally staying resumed.
Error message when finally staying resumed.
Post Reply