CPH wrote:

On Monday 11 October 2004 12:43, robinboby . wrote:


Hai all,

I am using ltsp4.1 with RedHat Linux 9 and its working so nice (Local
Device (FDD CDD), Sound.. with good performance. Now i just want to know is
there any auto login facility in ltsp4.1. I want to assign a default user
for each machine. That mean... in ws001 client the user user01 must login
automatically and in ws002 client the user02 must login so on.

with GDM setup i try autologin but with that i can login same user
in all machine, so it will create some problem while running some
application


Not sure of GDM, but KDM has autologin facilities which can very easily be configured on a per display basis. Have a read of teh README for kdm, but the format is something along the lines of :
[X-terminal1-Greeter]
PreselectUser=Default
DefaultUser=user1
AdminSession=
ShowUsers=None


[X-terminal2-Greeter]
PreselectUser=Default
DefaultUser=user2
AdminSession=
ShowUsers=None

CPH

Hi *,

This solution wa spublished before on K12LTSP list:
...

After a few hours of reading the GDM source code, I've worked out how to
do remote terminal logins.

After playing with the %h command, ie 'AutomaticLogin=term%h'
I dedicated that it was not going to work, it kept added :0 to the end of
the hostname. Also it would be nice to adjust my script below to only do
autologin for a listed set of terminals.

Autologin is great for internet cafe and sites where users are not members
of your organization.

I'm using autologin for a internet cafe using win4lin.

--- 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


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _____________________________________________________________________ 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