> Erik Myllymaki wrote: > > the posts on the list re: GDM autologin seem to be for a situation where you > > want ALL terminals to autologin. What if you want only some workstations to > > autologin and others to prompt with a login box? > > > > In your gdm.conf file, edit these resources as follows: > > AutomaticLoginEnable=true > AutomaticLogin=/usr/bin/gdm-auto-login %h| > > Create the file /usr/bin/gdm-auto-login and have the contents be something > like this: > > #!/bin/sh > > case "$1" in > xenoga|mgoose) > NAME=timeclk > ;; > esac > > if [ -n "$NAME" ] ; then > echo "Automatically logging in <$NAME> on $1" | logger -t gdm-auto-login > echo $NAME > exit 0 > fi > > exit 1
thanks for this, but the AutoLogin part seems to fail while the TimedLogin works: #cat /etc/X11/gdm/gdm.conf [daemon] AutomaticLoginEnable=true AutomaticLogin=/usr/local/sbin/gdm-auto-login %h| TimedLoginEnable=true TimedLogin=/usr/local/sbin/gdm-auto-login %h| TimedLoginDelay=30 . . . here's the logs; it looks like it tries to login when first booted up but fails (though logs to syslog) then when the TimedLogin kicks in 30 seconds later it works: # tail /var/log/messages Nov 21 13:39:41 LTSPMASTER gdm-auto-login: Automatically logging in <ltsp1> on ltsp1 Nov 21 13:39:41 LTSPMASTER gdm-auto-login: Automatically logging in <ltsp1> on ltsp1 Nov 21 13:40:14 LTSPMASTER gdm-autologin(pam_unix)[921]: session opened for user ltsp150_1 by (uid=0) thanks for any advice... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net