In shortcuts i have Super + L for locking screen. But on pressing it - nothing happens. In syslog:
gsd-media-keys[1979]: Couldn't lock screen: Cannot invoke method;
proxy is for the well-known name org.gnome.ScreenSaver without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Locking from interface works fine.
System info: Ubuntu 19.04 upgraded to 20.04
Linux laptop 5.4.0-21-generic #25-Ubuntu SMP Sat Mar 28 13:10:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
GNOME Shell 3.36.1
Other info:
gsettings get org.gnome.desktop.screensaver lock-enabled = true
gsettings get org.gnome.desktop.lockdown disable-lock-screen = false
gnome-screensaver 3.6.1
I also tried: gnome-screensaver-command -l
but nothing happens.
I already tried to reinstall gnome-shell and gnome-screensaver - it didn't help.
How to fix locking screen from hotkey?