2

I'm running Ubuntu 18.10, and I've changed my login screen to lightdm (since I don't like the gdm3 screen), but whenever my laptop suspends, it'll still show the gnome lock screen to log back in. Lightdm works fine with a user lock, log out, and when the computer starts up, but there's something about the waking behavior after suspend that causes it to use the gnome screen. Does anyone know how to edit these settings?

1

2 Answers 2

1

Try to use light-locker. The light-locker program is a locker that integrates with lightdm to allow session locking.

0

In Gnome there is a setting deep in dconf, which locks the screen when suspended. This can be set with dconf-editor using the setting shown in the screenshot below:

enter image description here


To set is via CLI, open a terminal and enter the command

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false
2
  • Okay, but once I've disabled the gnome lock on suspend, can I enable lightdm to lock on suspend?
    – user909509
    Jan 11, 2019 at 17:17
  • You can certainly give it a try. I have recently had trouble with gnome-lock-on-suspend, where it refuses to let me log back in (it forces a new instance of my username). Jan 11, 2019 at 17:32

You must log in to answer this question.