Hi all

Got this error, when trying to setup autologin with gdm ================================
Jan 3 16:53:07 DiskServer gdm-autologin(pam_unix)[30539]: could not
identify user (from getpwnam(/usr/bin/autologin.sh))
Jan 3 16:53:07 DiskServer gdm-binary[30539]: Couldn't set acct. mgmt
for /usr/bin/autologin.sh


===========================================
Had created user "ws006" since I am running client ws006 as suggested by the 
archive. Would appreciate it very much if someone can point out what is missing.

Thanks so much.


--- gdm-conf --- [daemon]

AutomaticLoginEnable=true
AutomaticLogin=/usr/bin/autologin.sh|
TimedLoginEnable=true
TimedLogin=/usr/bin/autologin.sh|
TimedLoginDelay=30

[security]
AllowRemoteAutoLogin=true
-- end ---

--- autologin.sh ---
#!/bin/bash
HOSTNAME=`echo ${DISPLAY} | cut -f1 -d: | awk -F . {' print $1 '}`
echo $HOSTNAME
exit 0
--- end ---

Cheers
--
Mike OConnor

...

It worked for me. Don't forget to set execute flag on the shell script.

Bart



--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
See also http://opensource.mimos.my




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_____________________________________________________________________
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

Reply via email to