I am using Ubuntu 18.04 on a Lenovo Thinkpad T480s.
And suspend no longer works.
- When triggering suspend through the power options, it takes me to the login screen instead of suspending. After entering my password it goes to sleep.
- Similarly, when closing the lid, the laptop stays powered on (fan spinning and LED is solid). I open the lid and I see the login screen. After entering my password it goes to sleep.
How can I find the cause of this issue?
pkaction --verbose
many output please past it here https://paste.ubuntu.com/ and can you showps -ef | grep poli
– nobody Mar 18 '20 at 12:30sudo apt install policykit-1-gnome
Log out and login again. Control withps -ef | grep poli
ifpolkit-gnome-authentication-agent-1
is running. Then try to suspend again. – nobody Mar 23 '20 at 08:43cp /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop $HOME/.config/autostart
open file in editor, search for stringNoDisplay=true
and set it to false,NoDisplay=false
logout and login again, we need this agent running. – nobody Mar 24 '20 at 09:59/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
through the "startup applications" gui but it just disappears. also when running the command in the terminal it shows an error but doesn't exit:(polkit-gnome-authentication-agent-1:32707): GLib-CRITICAL **: 20:14:15.309: g_variant_new_string: assertion 'string != NULL' failed
– borgh Mar 24 '20 at 19:17