summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBrian Cameron <Brian.Cameron@sun.com>2009-09-09 19:35:29 -0500
committerBrian Cameron <Brian.Cameron@sun.com>2009-09-09 19:35:29 -0500
commit3e90b5ee17b652915ef321242038bbd6ca864ff5 (patch)
treea2884e17c6fce1db19f453a9b2fe336eebcbf2c6 /docs
parent6325301b126165a14de58abbdb9f618f4dc6b49f (diff)
downloadgdm-3e90b5ee17b652915ef321242038bbd6ca864ff5.tar.gz
Add the ability to set automatic/timed login user via a script, using the
same syntax supported in the old GDM, where the AutomaticLogin or TimedLogin key can be set to a program followed by the pipe symbol. Fixes bug #591383.
Diffstat (limited to 'docs')
-rw-r--r--docs/C/gdm.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/C/gdm.xml b/docs/C/gdm.xml
index 7a336188..60ae5cf5 100644
--- a/docs/C/gdm.xml
+++ b/docs/C/gdm.xml
@@ -1202,6 +1202,16 @@ TimedLogin=you
This is the user that should be logged in after a specified
number of seconds of inactivity.
</para>
+ <para>
+ If the value ends with a vertical bar | (the pipe symbol),
+ then GDM will execute the program specified and use whatever
+ value is returned on standard out from the program as the user.
+ The program is run with the DISPLAY environment variable set so
+ that it is possible to specify the user in a per-display
+ fashion. For example if the value is "/usr/bin/getloginuser|",
+ then the program "/usr/bin/getloginuser" will be run to get the
+ user value.
+ </para>
</listitem>
</varlistentry>
@@ -1236,6 +1246,16 @@ TimedLogin=you
This is the user that should be logged in immediately if
<filename>AutomaticLoginEnable</filename> is true.
</para>
+ <para>
+ If the value ends with a vertical bar | (the pipe symbol),
+ then GDM will execute the program specified and use whatever
+ value is returned on standard out from the program as the user.
+ The program is run with the DISPLAY environment variable set so
+ that it is possible to specify the user in a per-display
+ fashion. For example if the value is "/usr/bin/getloginuser|",
+ then the program "/usr/bin/getloginuser" will be run to get the
+ user value.
+ </para>
</listitem>
</varlistentry>