Stéphane Adenot | 25 Aug 22:28

gdm autologin

Hi,

I am trying to use an autologin feature that I saw in the "daemon"
section of the gdm configuration page
(http://library.gnome.org/admin/gdm/2.20/configuration.html.en#daemonsection)
I want to launch a shell script from the value of the "AutomaticLogin"
parameter ending with a '|' character as stated in the doc.
Unfortunately, that doesn't work and gdm try to authenticate the script
path as a user name instead of launching the script.

I am using gdm 2.22.0. Has this feature been removed from this gdm
version or am I missing something ?

Here are the related syslog msg:

Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker: state AUTHENTICATED
Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker: trying to get updated username
Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker: username is '/usr/local/sbin/autolog|'
Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker:
old-username='/usr/local/sbin/autolog|' new-username='/usr/local/sbin/autolog|'
Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker: Calling Authenticated
Aug 25 22:15:17 localhost gdm-simple-slave[23926]: DEBUG: session_message_handler:
destination=(null) obj_path=/org/gnome/DisplayManager/Session
interface=org.gnome.DisplayManager.Session method=Authenticated
Aug 25 22:15:17 localhost gdm-simple-slave[23926]: DEBUG: GdmSessionDirect: Emitting
'authenticated' signal
Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker:
obj_path=/org/gnome/DisplayManager/Session interface=org.gnome.DisplayManager.Session method=Authorize
Aug 25 22:15:17 localhost gdm-session-worker[24047]: DEBUG: GdmSessionWorker: attempting to change
state to AUTHORIZED
(Continue reading)

Stéphane Adenot | 28 Aug 16:08

Re: gdm autologin

Stéphane Adenot a écrit :
> Hi,
> 
> I am trying to use an autologin feature that I saw in the "daemon"
> section of the gdm configuration page
> (http://library.gnome.org/admin/gdm/2.20/configuration.html.en#daemonsection)
> I want to launch a shell script from the value of the "AutomaticLogin"
> parameter ending with a '|' character as stated in the doc.
> Unfortunately, that doesn't work and gdm try to authenticate the script
> path as a user name instead of launching the script.

Oops. I didn't notice in the first place that in the 2.22 version I am
using, the "AutomaticLogin" parameter seems to come from a specific
distro patch.
Sorry for the wrong posting (and also for my bad English).

Gmane