On Monday 23 Aug 2010, SZABO Zsolt wrote:
> I have just installed on debian (from lenny-backports) the ltsp-server
> ## dpkg -l |grep ltsp-server
> #ii  ltsp-server                                  5.2.2-1~bpo50+1
> ... and created the ltsp-client chroot.
>
> The question is how to enable autologin with LDM for a specific user?
>
> The docs says that setting LDM_USERNAME and LDM_PASSWORD is enough but it
> does not work for me... (BTW. the example is missing from the UpstreamDoc)
> When I set LDM_GUESTLOGIN then clicking on the GuestLogin button OK.
> (it logs in as definied by LDM_USERNAME ...)
> I have also tried to set LDM_LOGIN_TIMEOUT: it counts down and then
> nothing happens on the greater screen.
> (setting LDM_AUTOLOGIN to Y did not help either, though according to the
> docs when LDM_USERNAME is set then it is not necessary)
>
> So, what is the proper way to set up automated login?

   LDM_AUTOLOGIN        = True
   LDM_USERNAME         = bob
   LDM_PASSWORD         = sekrit

It works for me.  Might be worth checking your package versions by running 
ltsp-info on the server.  The output from mine (and I think I'm up-to-date) 
is:

server information:
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 5.0.5 (lenny)
Release:        5.0.5
Codename:       lenny

server packages:
ii ldm-server 2:2.1.2-1~bpo50+1
un ltsp-client <none>
pn ltsp-docs <none>
ii ltsp-server 5.2.2-1~bpo50+1
ii ltsp-server-standalone 5.2.2-1~bpo50+1
pn ltsp-utils <none>
ii ltspfs 0.6-1~bpo50+1

packages in chroot: /opt/ltsp/i386
ii ldm 2:2.1.2-1~bpo50+1
ii ltsp-client 5.2.2-1~bpo50+1
ii ltsp-client-core 5.2.2-1~bpo50+1
ii ltspfsd 0.6-1~bpo50+1
ii ltspfsd-core 0.6-1~bpo50+1

found: /opt/ltsp/i386/etc/lts.conf

Also, try logging onto the client and running "getltscfg -a", this will tell 
you whether the options are getting to the client.  If they aren't look for 
an error further up your lts.conf.

-- 
Chris Roberts

+------------------+--------------------------+
|     Distribution | Debian Lenny             |
|     LTSP Version | 5.2.2-1~bpo50+1          |
|      LDM Version | 2:2.1.2-1~bpo50+1        |
|  Windows Manager | KDE 3.5.10               |
|           Kernel | 2.6.32-bpo.5-686-bigmem  |
+------------------+--------------------------+
|     Distribution | Debian Lenny             |
|     LTSP Version | 5.2.2-1~bpo50+1          |
|      LDM Version | 2:2.1.2-1~bpo50+1        |
|  Windows Manager | KDE 3.5.10               |
|           Kernel | 2.6.26-2-686             |
+------------------+--------------------------+

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_____________________________________________________________________
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