Skip to content
Commit 10aa1714 authored by Benjamin Berg's avatar Benjamin Berg Committed by Benjamin Berg
Browse files

power: Avoid automatic logout in GDM/greeter

In GDM sessions (greeter, initial-setup), it does not make sense to
automatically logout. This can happen if the system wide default is
changed to default to the "logout" action.

Note that we already use the RUNNING_UNDER_GDM environment variable in
the keyboard plugin currently. So doing this is likely sane, even if we
probably want a more elegant strategy to detect whether we are in a
"login" session.
parent 647c0af7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment