chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
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_elogind.xml

index 8e6520f079c8f2741a8dbeb1f62e125455b035cf..d4aa912406d861dbf02a0cbbc57af9e28d2869e5 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_elogind</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>