diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-05 20:34:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-05 20:44:49 +0100 |
commit | a4cd87e9dce6d38846f23d44df9e21f322f946df (patch) | |
tree | 9b5be9e173216b28e63150b1f89ceb18c308abe1 /man | |
parent | 49ebd11fb0ea6af249990439bf0690641e8be559 (diff) |
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".
Diffstat (limited to 'man')
-rw-r--r-- | man/pam_systemd.xml | 60 |
1 files changed, 60 insertions, 0 deletions
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.</para></listitem> </varlistentry> + + </variablelist> + + <para>The following environment variables are read by + the module and may be used by the PAM service to pass + meta data to the module:</para> + + <variablelist class='environment-variables'> + <varlistentry> + <term><varname>$XDG_SESSION_TYPE</varname></term> + + <listitem><para>The session type. This + may be used instead of + <option>session=</option> on the + module parameter line, and is usually + preferred.</para></listitem> + </varlistentry> + + <varlistentry> + <term><varname>$XDG_SESSION_CLASS</varname></term> + + <listitem><para>The session class. This + may be used instead of + <option>class=</option> on the + module parameter line, and is usually + preferred.</para></listitem> + </varlistentry> + + <varlistentry> + <term><varname>$XDG_SESSION_DESKTOP</varname></term> + + <listitem><para>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: + <literal>gnome</literal>, or + <literal>kde</literal>.</para></listitem> + </varlistentry> + + <varlistentry> + <term><varname>$XDG_SEAT</varname></term> + + <listitem><para>The seat name the session + shall be registered for, if + any.</para></listitem> + </varlistentry> + + <varlistentry> + <term><varname>$XDG_VTNR</varname></term> + + <listitem><para>The VT number the + session shall be registered for, if + any. (Only applies to seats with a VT + available, such as + <literal>seat0</literal>)</para></listitem> + </varlistentry> + </variablelist> </refsect1> |