You are not logged in.

#1 2018-04-23 18:43:37

axelgenus
Member
From: Italy
Registered: 2007-04-15
Posts: 100
Website

GDM auto-suspend

Hi guys,
I am struggling trying to configure GDM NOT to auto-suspend while showing the login screen. I followed the instruction in the Arch Wiki [1] to no avail.

$ sudo -u gdm dbus-launch gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type
No protocol specified
'nothing'

I don't know why but dbus-launch always gives the "No protocol specified" warning. Even if the gsettings command gives 'nothing' as result the system suspends while on login screen. I also set sleep-inactive-battery-type to 'nothing' but the outcome is the same. Any hint?

Offline

#2 2018-04-23 19:01:48

ciorci
Member
Registered: 2012-12-16
Posts: 7

Re: GDM auto-suspend

Hi
same here but only with 4.16.x kernel
auto suspend very aggressive (every time i move  the cursor or press a key)
and same result from gsetting command

Offline

#3 2018-04-24 07:14:48

axelgenus
Member
From: Italy
Registered: 2007-04-15
Posts: 100
Website

Re: GDM auto-suspend

As a temporary fix I login and lock the screen but it's far from being a solution.

Offline

#4 2018-04-24 14:24:56

goumba
Member
From: New Jersey, USA
Registered: 2017-03-31
Posts: 21
Website

Re: GDM auto-suspend

ciorci wrote:

Hi
same here but only with 4.16.x kernel
auto suspend very aggressive (every time i move  the cursor or press a key)
and same result from gsetting command

Very agressive to say the least. Seems like it only waits a minute before going in to suspend.

However, those instructions do work for me. I simply ignore that 'No protocol specified' message. I can't think of a situation in which I've used dbus-launch and did not get that message.


FSF Associate Member #12876
"Yeah, well, you know, that's just, like, your opinion, man." - The Dude

Offline

#5 2018-04-24 15:11:16

axelgenus
Member
From: Italy
Registered: 2007-04-15
Posts: 100
Website

Re: GDM auto-suspend

goumba wrote:

Very agressive to say the least. Seems like it only waits a minute before going in to suspend.

So is this about the kernel, not GDM?

Offline

#6 2018-04-25 10:07:50

ciorci
Member
Registered: 2012-12-16
Posts: 7

Re: GDM auto-suspend

yes is a kernel problem.
few time i can make login but the problem persist in desktop enviroment.

Offline

Board footer

Powered by FluxBB