Lightdm ignores power saving settings; suspends system in 20 minutes regardless of sleep-inactive-ac-timeout parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Dear colleagues,
We have discovered an abnormal operation of the lightdm (1.30.0-
1. When no user is logged in (the initial user selection screen is displayed) the idle system goes into suspend (sleep) mode. The timeout for this event is 20 minutes.
2. I tried to cancel the entering into sleep mode. To do this, I altered the sleep-inactive-
The command sudo -H -u lightdm dbus-launch --exit-with-session gsettings list-recursively org.gnome.
root@supercat:
No protocol specified
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
3. I checked the result, the system still suspends (goes into sleep mode) in 20 minutes. I checked the IdleAction parameter in /etc/systemd/
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProces
#KillOnlyUsers=
#KillExcludeUse
#InhibitDelayMa
#HandlePowerKey
#HandleSuspendK
#HandleHibernat
#HandleLidSwitc
#HandleLidSwitc
#HandleLidSwitc
#PowerKeyIgnore
#SuspendKeyIgno
#HibernateKeyIg
#LidSwitchIgnor
#HoldoffTimeout
IdleAction=ignore
IdleActionSec=30min
#RuntimeDirecto
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
I came to conclusion that lightdm ignores correctly given setting for not suspending the system (org.gnome.
Commentaries on this finding are welcome.
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
DistroRelease: Ubuntu 20.04
Package: lightdm 1.30.0-
PackageArchitec
Tags: focal third-party-
Uname: Linux 5.4.96-
UpgradeStatus: Upgraded to focal on 2021-02-10 (92 days ago)
UserGroups: android audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare scanner tape users vboxusers video
_MarkForUpload: True
modified.
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile.
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1928305
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.