From a4cd87e9dce6d38846f23d44df9e21f322f946df Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 5 Feb 2014 20:34:11 +0100 Subject: man: introduce new "Desktop" property for sessions This is initialized from XDG_SESSION_DESKTOP and is useful for GNOME to recognize its own sessions. It's supposed to be set to a short string identifying the session, such as "kde" or "gnome". --- man/pam_systemd.xml | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'man') diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index f312ef2b99..66d40fca45 100644 --- a/man/pam_systemd.xml +++ b/man/pam_systemd.xml @@ -222,6 +222,66 @@ operating system provides. + + + + The following environment variables are read by + the module and may be used by the PAM service to pass + meta data to the module: + + + + $XDG_SESSION_TYPE + + The session type. This + may be used instead of + on the + module parameter line, and is usually + preferred. + + + + $XDG_SESSION_CLASS + + The session class. This + may be used instead of + on the + module parameter line, and is usually + preferred. + + + + $XDG_SESSION_DESKTOP + + The session + deskop. This may be used to indicate + the session desktop used, where this + applies. This should be a short, + lowercase string identifying the + desktop environment used if this + information is available. For example: + gnome, or + kde. + + + + $XDG_SEAT + + The seat name the session + shall be registered for, if + any. + + + + $XDG_VTNR + + The VT number the + session shall be registered for, if + any. (Only applies to seats with a VT + available, such as + seat0) + + -- cgit v1.2.3-54-g00ecf