I'm using Ubuntu 18.04 on GNOME. When I try to lock my screen, nothing happens. Going into my Privacy settings won't let me enable the Lock Screen. Is this an issue regarding permissions?
Asked
Active
Viewed 5,772 times
2 Answers
12
Try the default lock screen (screen lock) key combination on Ubuntu 18.04 and Fedora 28 first:
Super+L (that is Windows+L). On terminal try
xdg-screensaver lock.If that did not work then check whether the following command returns true:
gsettings get org.gnome.desktop.lockdown disable-lock-screenIf the command above returned true then do the following:
gsettings set org.gnome.desktop.lockdown disable-lock-screen false
Check whether the lock screen (screen lock) works now.
Had a similar problem and this helped me solve my issue.
Pablo Bianchi
- 17,371
2
Here's one thing you can try.
First of all, make sure
gnome-screensaveris installedsudo apt install gnome-screensaverTry to issue lock command in the terminal:
gnome-screensaver-command -lthen see if there's any text output in the terminal, such as "Screensaver is not running!"
If it's the case, run the daemon:
gnome-screensaver &then retry the previous lock command. Let's hope it will work now.
Lilly-R B
- 448