Using LightDM on 20.04 and turns off

Jeffrey Walton noloader at gmail.com
Mon Dec 5 14:52:00 UTC 2022


On Mon, Dec 5, 2022 at 7:51 AM Jerry Geis <jerry.geis at gmail.com> wrote:
>
> I installed LightDM...
> I went to Settings - Power
> Screen blank is 5 minutes - which does nothing under LightDM (no problem)
> Automatic Suspend is  - OFF
>
> If I do not logout my machine stays on no problem.
> if I goto the upper right corner and select logout, I now get the login screen.
> The screen DOES go blank in 5 minutes
>
> BUT - after some time the machine goes to sleep...
> Where is the setting the TURNS this off ?

I've had trouble in the past with Power Management due to Systemd. It
seems like Systemd does not honor Power settings set through the
applet. It happens on a lot of distros, and not just Ubuntu.

If Systemd is the culprit, then you need to mask some of the power
functions. See the section 'Disable suspend and hibernation' at
https://wiki.debian.org/Suspend . Or more generally,
https://www.google.com/search?q=Ubuntu+systemd+mask+hibernate .

Jeff




More information about the ubuntu-users mailing list