Ubuntu – Ubuntu 17.10 Screen lock not working and grey


The screen lock is not working, it does not lock the screen (no password required).

I would like it to prompt for a password every time the screen locks (clock screen).

All instructions tells me to enable this in privacy but I can not enable or disable as it's grey (gray).

Ubuntu 17.10 upgraded from Ubuntu 17.04, upgraded from Ubuntu 16.10.

Screen Lock Grey out

Any help or advise would be great as I already tried many setting and installs and removes suggested on online.

Best Answer

Lock screen needs to be enabled:

gsettings get org.gnome.desktop.lockdown disable-lock-screen

If result is true then use:

gsettings set org.gnome.desktop.lockdown disable-lock-screen false