summaryrefslogtreecommitdiff
path: root/man/pam_systemd.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-05 18:55:18 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-05 18:55:18 +0100
commit49ebd11fb0ea6af249990439bf0690641e8be559 (patch)
treece96ae7e60f7e541d9d46870df5df3efa2a51ead /man/pam_systemd.xml
parentd9eb81f9844f6d28b52e44b2c0e6e280a61d8200 (diff)
logind: make session type and class settable via the same ways
If the session type/class is set via environment variables, use that, and otherwise fallback to something that is set via the PAM module command line.
Diffstat (limited to 'man/pam_systemd.xml')
-rw-r--r--man/pam_systemd.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml
index d3edc32d2d..f312ef2b99 100644
--- a/man/pam_systemd.xml
+++ b/man/pam_systemd.xml
@@ -127,7 +127,28 @@
<listitem><para>Takes a string
argument which sets the session class.
The XDG_SESSION_CLASS environmental variable
- takes precedence.</para></listitem>
+ takes precedence. One of
+ <literal>user</literal>,
+ <literal>greeter</literal>,
+ <literal>lock-screen</literal> or
+ <literal>background</literal>. See
+ <citerefentry><refentrytitle>sd_session_get_class</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ for details about the session class.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>type=</option></term>
+
+ <listitem><para>Takes a string
+ argument which sets the session type.
+ The XDG_SESSION_TYPE environmental
+ variable takes precedence. One of
+ <literal>unspecified</literal>,
+ <literal>tty</literal>,
+ <literal>x11</literal> or
+ <literal>wayland</literal>. See
+ <citerefentry><refentrytitle>sd_session_get_type</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ for details about the session type.</para></listitem>
</varlistentry>
<varlistentry>