Views:
1,857β
Votes: 1β
β
Solution
Tags:
suspend
password
17.04
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1000243
Title:
Ubuntu 17.04 no longer asking for password when coming out of sleep mode
ID:
/2018/01/27/Ubuntu-17.04-no-longer-asking-for-password-when-coming-out-of-sleep-mode
Created:
January 27, 2018
Edited: January 27, 2018
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Step 1 is Screensaver installed?
The password when resuming from suspend is based on lock screen screen and lock screen is based upon screen saver. To check screen saver use apt list --installed | grep saver
:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
gnome-screensaver/xenial,now 3.6.1-7ubuntu4 amd64 [installed]
If you donβt see a screen saver above then use:
sudo apt install gnome-screensaver
Step 2 is lock screen enabled?
Lock screen needs to be enabled:
gsettings get org.gnome.desktop.lockdown disable-lock-screen
false
If result is true
then use:
gsettings set org.gnome.desktop.lockdown disable-lock-screen false