[systemd-devel] logind 196 keeps on locking my session

Mantas Mikulėnas grawity at gmail.com
Wed Dec 19 15:44:21 PST 2012


On Thu, Dec 20, 2012 at 12:47 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 28.11.12 10:31, Paul Neumann (paul104x at yahoo.de) wrote:
>
>> Hi all,
>>
>> the new lock setting of HandleLidSwitch for logind in systemd 196 does
>> not work correctly for me. After setting the option and closing the lid
>> of my laptop, my session gets locked. However, as soon as I unlock the
>> session, it instantly gets locked again.
>>
>> The following messages appear in the journal:
>> systemd-logind[325]: Lid closed.
>> systemd-logind[325]: Locking sessions...
>>
>> Whereas the second message is repeated a couple of hundred times per
>> second.
>>
>> I am using the lockscreen of gnome-screensaver in case that matters and
>> I would appreciate if someone could have a look into this.
>
> GNOME watches the lid siwtch on its own anyway, so you have two clients
> watching the lid switch and handling on it?

I don't think it does anymore. gnome-settings-daemon does not grab the
"handle-lid-switch" inhibitor by default – only when there are
external displays connected (to completely prevent suspending).

--
Mantas Mikulėnas


More information about the systemd-devel mailing list