I want to use lightdm on Ubuntu 20.04. After installing lightdm and logging in to the desktop environment, I get a message saying

Screen Lock disabled

Screen Locking requires the GNOME desktop manager

How can I enable screen locking with lightdm?


It looks like there is a security issue related to locking using LightDM

See: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1806961

One option is to switch to gdm3:

sudo dpkg-reconfigure gdm3
  • Your link is for Ubuntu 13 and a lot has changed in 7 years. I'm not sure it is relevant. – WinEunuuchs2Unix Jul 3 '20 at 2:44
  • Good point, fixed now to launchpad bug. – Michał Maluga Jul 3 '20 at 5:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.