]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add a note about $XDG_SEAT and $XDG_VTNR to pam_systemd(8)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Mar 2018 12:15:19 +0000 (13:15 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 24 Mar 2018 13:16:31 +0000 (14:16 +0100)
Issue #6499 requests that a mention that those varibles can be set in the
environment is added. But the man page already says that. There isn't much
detail, but a man page does not need to and in this case should not include
all the details. Instead a note is added that those vars can be derived from
$DISPLAY.

Closes #6499.

man/pam_systemd.xml

index f45631688c9f216a4286d7bb3fc6a26a526615be..a769a49bbebbaa5ded916b240a3a60f0996025ee 100644 (file)
         for, if any. (Only applies to seats with a VT available, such
         as <literal>seat0</literal>)</para></listitem>
       </varlistentry>
-
     </variablelist>
+
+    <para>If not set, <command>pam_systemd</command> will determine the
+    values for <varname>$XDG_SEAT</varname> and <varname>$XDG_VTNR</varname>
+    based on the <varname>$DISPLAY</varname> variable.</para>
   </refsect1>
 
   <refsect1>