I have a problem with restoring the password request on the lock screen. During the installation of Ubuntu I specified the auto-login option, but now I want to re-enable the password protection. Possible changes in the system settings don't help.
Thank you in advance...
53 Answers
Go to System Settings >> User Accounts and switch the Automatic Login to OFF.
Now set your preferences in the following sections:
System Settings >> Brightness & Lock
System Settings >> Security & Privacy >> Security
If not already existing, set a user-password, replace 'your-user-name' with your real user-name:
sudo passwd your-user-name Open the following file:
gksudo gedit /etc/lightdm/lightdm.conf Remove or comment out (#) the line: autologin-user
Save and Exit
Reinstall gnome-screensaver, update and reboot your system:
sudo apt-get install --reinstall gnome-screensaver sudo apt-get update sudo apt-get upgrade sudo reboot 6I was trying a lot of different options and, finally, what works for me, is installation of xscreensaver sudo apt install xscreensaver I added a shortcut Shift+Super+L to a command: xscreensaver-command -lock and now it locks my PC and unlock can be possible only if I enter the password
SOLVED problem with restoring the password request on the lock screen:
- Log into the main admin account.
- Create a temporary administrator account.
- Log in to the temp admin account.
- Change password and lock setting for the main admin account.
- Log out and confirm the main admin account lock setting are functioning correctly.
- Clean up temp account as desired.
- Done!