In shortcuts i have Super + L for locking screen. But on pressing it - nothing happens. In syslog:
gsd-media-keys: 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
gsettings get org.gnome.desktop.screensaver lock-enabled = true gsettings get org.gnome.desktop.lockdown disable-lock-screen = false
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?