Petre Scheie wrote: > Andrew Ziem wrote: > >> Petre Scheie wrote: >> >>> Andrew Ziem wrote: >>> >>> >>>> Petre Scheie wrote: >>>> >>>> >>>>> 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. >>>>> >>>>> >>>>> >>>> Which version of GDM? While 2.12 worked fine, there has been a nasty >>>> autologin/timed login bug starting in GDM 2.14.0. I wrote a patch for >>>> the timed login which I think made it in for GDM 2.16.2. >>>> >>>> http://bugzilla.gnome.org/show_bug.cgi?id=340148 >>>> >>>> >>>> >>>> >>> Thanks Andrew. As it turns out, the problem was a typo in my autologin.pl >>> script. >>> However, with GDM, the script is run for all client machines, and those >>> that aren't set >>> up for autologin just restart the client's X server, which works but is >>> annoying to look >>> at. Do you know if there is any way in GDM to set the autologin so only >>> specified >>> client machines even try to autologin? With KDM I think this is possible >>> (haven't tried >>> it), but the greeter in KDM seems broken since any changes I make to that >>> don't show up >>> at the login screen. >>> >>> >>> >> Hi Peter, >> >> I basically use the same method described here on the wiki. The login >> script checks the hostname, and if it's an undesired hostname, it >> returns nothing. When the script returns nothing, GDM should disable >> the timed/automatic login systems. >> >> http://wiki.ltsp.org/twiki/bin/view/Ltsp/WorkInProgress#Public_and_private_use_of_the_wo >> >> > My script does more or less the same thing, though it's not as elaborate. At > the login > screen I see a line in the greeter that says "User /usr/bin/autologin.pl| > will login in > X seconds". If it's a machine that should autologin, it does so; if it's a > machine that > should not autologin, it appears autologin.pl still runs but returns an > invalid ID, and > so then the greeter resets and it appears that the X server may be resetting > as well, > and then it repeats the process. What I'd like is for the autologin.pl > script to not > even run for those client machines that aren't setup for autologin, Is this > possible > with GDM? > Welcome to Gnome bug 340148. Annoying, isn't it? :) That's exactly the problem for which I provided a patch, so either upgrade GDM to a patched version or apply the patch yourself.
Andrew ------------------------------------------------------------------------- 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