Could you elaborate on how your script works? I tried it, using your
instructions, but
the login screen just says "User /usr/bin/autologin.pl| will login in 30
seconds" and
when the 30 seconds runs out, the X server just restarts.
Petre
Lott Caskey wrote:
> 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
>
> -------------------------------------------------------------------------
> 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
-------------------------------------------------------------------------
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