In Gnome (GDM) setup an automatic login as a pipe, the program to run
then a pipe (|). I then wrote a simple script that evaluated the
$DISPLAY env and then return the appropriate loginname. In my case, I
changed the hostnames of the terminals and created matching system
accounts. If the user doesn't enter a username within 30 seconds, it
defaults to the autologin account.
Example, add the following lines to the specified sections of
/etc/gdm/custom.conf:
[daemon]
AutomaticLoginEnable=true
TimedLoginEnable=true
TimedLogin=/usr/bin/autologin.pl|
TimedLoginDelay=30
[security]
AllowRemoteAutoLogin=true
Create the autologin script "/usr/bin/autologin.pl"
#!/usr/bin/perl
use strict;
my ($disp) = split /:/, $ENV{'DISPLAY'};
#Add per-machine specific users here:
# ie. $disp = "johns" if ($disp eq "ws025");
print $disp;
Make sure autologin.pl is executable and you have restarted gdm.
-Lott
begin:vcard
fn:Lott Caskey
n:Caskey;Lott
org:Spinnaker Resorts;Information Technology
adr;dom:Suite 480;;1707 Orlando Central Parkway;Orlando;FL;32809
email;internet:[EMAIL PROTECTED]
tel;work:407-745-0626
tel;fax:866-513-6325
tel;cell:386-547-9040
x-mozilla-html:TRUE
url:http://www.SpinnakerResorts.com/
version:2.1
end:vcard
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
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