[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltsp-discuss
Subject:    [Ltsp-discuss] GDM LTSP4.2 Autologin
From:       gabriel lopez <gabriellopeza () hotmail ! com>
Date:       2008-11-21 15:59:31
Message-ID: BAY122-W100601F5A81E64CBC5DFC9B40F0 () phx ! gbl
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I am in the process of installing LTSP4.2 on Mandriva 2009. There has been problem \
because i has not found specific instructions for Mandriva 2009 but Instructions for \
Mandriva 2006 and 2007 work 95% of the time. What i have to solve now is autologin on \
some terminals. I have tried instructions for KDM and GDM and none works.
I has gone back to GDM  and use this instructions:

#####################################################################
Create a user ID for each client machine that will autologin. This how-to assumes the \
IDs are auto1, auto2, auto3, etc.  Create the /usr/bin/autologin script. This script \
figures out which client it's running on and then passes a correpsonding login ID to \
GDM for the autologin. Here's a sample script, which you can modify to suit your \
                needs: 
--------autologin script--------------------------------------------------
#!/bin/bash
 CLIENT=$(echo $DISPLAY || cut -d. -f1)
 case "$CLIENT" in
     "ws001")    disp=auto1;;
     "ws002")    disp=auto2;;
     "ws003")    disp=auto3;;
 esac
 echo $disp
----------------------------------------------------
 Be sure the $disp variable is being set to valid user IDs you created in the \
previous step.  Remember to make the autologin script executable ('chmod +x \
/usr/bin/autologin'). Modify /etc/gdm/custom.conf and add the following settings \
under the daemon and security sections. Be sure to include the pipe character at the \
                end of the TimedLogin line.* 
-------------------custom.conf--------------------------------
 daemon
 
AutomaticLoginEnable=true
 TimedLoginEnable=true
 TimedLogin=/usr/bin/autologin|
 TimedLoginDelay=30

 security

 AllowRemoteAutoLogin=true
----------------------------------------------------------------
Restart GDM. This will kick all users, including you at the console, off the system \
and send them back to the login screen. As such, it's best if you switch to a command \
prompt console by pressing Ctrl-Alt-F1, and login in as root, if you aren't already. \
Then, restart gdm:   gdm-restart

###################################################################

There are other similar procedures that i has tried too without luck.

The problem is that i can see the login screen on the terminal and a message that say \
somthiong like "root wil login in 30,29,.... seconds" but root never login and th \
message start again "root wil login in 30,29,.... seconds" and so on. I DO NOT WANT \
TO LOGIN AS ROOT BUT AS A REGULAR USER. auto1 in this case.

What i thing is that something is missing because i do not see how the value "auto1" \
stores in $disp on the screen, is passed to GDM as the name of the user i want lo \
login as.

Any help?






_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline



[Attachment #5 (text/html)]

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I am in the process of installing LTSP4.2 on Mandriva 2009. There has been problem \
because i has not found specific instructions for Mandriva 2009 but Instructions for \
Mandriva 2006 and 2007 work 95% of the time.<br>What i have to solve now is autologin \
on some terminals.<br>I have tried instructions for KDM and GDM and none works.<br>I \
has gone back to GDM&nbsp; and use this instructions:<br><font style="" \
color="#000000"><font style="font-size: 10pt;" \
size="2"><br>#####################################################################</font></font><br><font \
style="font-size: 10pt;" color="#000000" size="2"><i>Create a user ID for each client \
machine that will autologin. This how-to assumes the IDs are auto1, auto2, auto3, \
etc. <br>Create the /usr/bin/autologin script. This script figures out which client \
it's running on and then passes a correpsonding login ID to GDM for the autologin. \
Here's a sample script, which you can modify to suit your needs: \
</i><br>--------autologin \
script--------------------------------------------------<br><i>#!/bin/bash<br>&nbsp;CLIENT=$(echo \
$DISPLAY || cut -d. -f1)<br>&nbsp;case "$CLIENT" in<br>&nbsp;&nbsp;&nbsp;&nbsp; \
"ws001")&nbsp;&nbsp;&nbsp; disp=auto1;;<br>&nbsp;&nbsp;&nbsp;&nbsp; \
"ws002")&nbsp;&nbsp;&nbsp; disp=auto2;;<br>&nbsp;&nbsp;&nbsp;&nbsp; \
"ws003")&nbsp;&nbsp;&nbsp; disp=auto3;;<br>&nbsp;esac<br>&nbsp;echo \
$disp<br>----------------------------------------------------<br>&nbsp;Be sure the \
$disp variable is being set to valid user IDs you created in the previous step.&nbsp; \
Remember to make the autologin script executable ('chmod +x \
/usr/bin/autologin').<br>Modify /etc/gdm/custom.conf and add the following settings \
under the daemon and security sections. Be sure to include the pipe character at the \
end of the TimedLogin line.* \
<br>-------------------custom.conf--------------------------------<br><font style="" \
color="#ff0000">&nbsp;daemon</font><br>&nbsp;<br>AutomaticLoginEnable=true<br>&nbsp;Ti \
medLoginEnable=true<br>&nbsp;TimedLogin=/usr/bin/autologin|<br>&nbsp;TimedLoginDelay=30<br><br><font \
style="" color="#ff0000">&nbsp;security<br><br></font>&nbsp;AllowRemoteAutoLogin=true<br>----------------------------------------------------------------<br>Restart \
GDM. This will kick all users, including you at the console, off the system and send \
them back to the login screen. As such, it's best if you switch to a command prompt \
console by pressing Ctrl-Alt-F1, and login in as root, if you aren't already. Then, \
restart gdm: <br>&nbsp; \
gdm-restart</i></font><br><br>###################################################################<br><br>There \
are other similar procedures that i has tried too without luck.<br><br>The problem is \
that i can see the login screen on the terminal and a message that say somthiong \
like<br>"root wil login in 30,29,.... seconds" but root never login and th message \
start again "root wil login in 30,29,.... seconds" and so on. I DO NOT WANT TO LOGIN \
AS ROOT BUT AS A REGULAR USER. auto1 in this case.<br><br>What i thing is that \
something is missing because i do not see how the value "auto1" stores in <font \
style="font-size: 10pt;" color="#000000" size="2"><i>$disp on the screen, is passed \
to GDM as the name of the user i want lo login as.<br><br>Any \
help?<br><br><br><br><br></i></font><br><br /><hr />Connect to the next generation of \
MSN Messenger   <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline' \
target='_new'>Get it now! </a></body> </html>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_____________________________________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic