You are not logged in.

#1 2025-09-27 12:11:22

Med
Member
Registered: 2011-08-08
Posts: 18

GDM automatically suspends

I am running a dual-seat configuration. Since updating to GNOME 49, I am having issues with the computer going to sleep 10 minutes after idling. I have disabled sleep for the gdm user:

sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0

I have also edited /etc/systemd/logind.conf to set:

HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
IdleAction=ignore

None of this appears to work. I regards to timing, at boot, loginctl list-sessions indicates that the session is idle after 5 minutes and the computer goes to sleep exactly after 10 minutes. To address the problem I have set up a systemd inhibitor, but I prefer a cleaner fix. This worked fine with GNOME 48. Any idea? Thanks!

Offline

#2 2025-09-27 13:12:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,094

Re: GDM automatically suspends

Possibly related to https://bbs.archlinux.org/viewtopic.php?id=308457 - is the problem gnome 48 or systemd 258?

Offline

#3 2025-09-28 07:47:37

Med
Member
Registered: 2011-08-08
Posts: 18

Re: GDM automatically suspends

I do not think the issue is systemd per se, as it only started after updating to GNOME 49. This being said I could try using another login manager to see whether this happens or not.

Offline

#4 2025-09-28 07:55:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,094

Re: GDM automatically suspends

systemd and gnome updated pretty much at the same time. Did you explicitly test systemd 258 against gnome 48?

If not (or maybe in general) try to downgrade systemd to 257-9 to see whether you're with the other guys.
According to that thread, KDE etc are not affected and it's strictly Gnome + systemd 258 (+ nvidia? hybrid graphics?) and it would be interesting to see whether the second suspend is maybe actually triggered by the DM w/ systemd 258

Offline

#5 2025-10-09 13:34:00

bam
Member
Registered: 2022-01-03
Posts: 11

Re: GDM automatically suspends

Could somebody clarify what exactly do I need to change -
whether it GSettings or /etc/systemd/logind.conf, or both?

Offline

#6 2025-10-09 18:55:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,094

Offline

Board footer

Powered by FluxBB