08.02.2012 14:30, Aravind M D kirjoitti:

> /usr/bin/startlxde not found

Yes, LXDE works in fat chroot this way.
I did this in fresh chroot (ltsp-build-client).

*
Copy sources.list from server to the fat chroot.

Follow this howto and upgrade first your fat chroot:

https://help.ubuntu.com/community/UbuntuLTSP/UpdatingChroot

You can also unlock root account in fat chroot.

https://help.ubuntu.com/community/UbuntuLTSP/UnlockChrootRootAcct

Remember, Debian use NFS so you never need 'ltsp-update-image', just 
'ltsp-update-sshkeys' or 'ltsp-update-kernels'.

*
In chroot install 'lxde' and 'lxde-common'.

http://packages.debian.org/squeeze/lxde
http://packages.debian.org/squeeze/lxde-common

In fat chroot there is nothing else, not Gnome or XFCE4, these are just 
in server side. In server I use Gnome desktop.

*
After that you need proper lts.conf. This is mine.

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

[default]
LDM_DIRECTX=True
X_COLOR_DEPTH=16
LTSP_FATCLIENT=True

[00:22:15:5c:d3:04]
# Asus Eee
LDM_AUTOLOGIN=True
LDM_USERNAME=ltspmx001
LDM_PASSWORD=ltspmx001
LDM_LANGUAGE="fi_FI.UTF-8"
LDM_SESSION=/usr/bin/startlxde

[00:22:64:49:7f:f5]
# HP Mini 2133
LTSP_FATCLIENT=False
LDM_AUTOLOGIN=True
LDM_USERNAME=ltspmx002
LDM_PASSWORD=ltspmx002
LDM_LANGUAGE="fi_FI.UTF-8"
LDM_SESSION=/usr/bin/startxfce4

*
So Asus Eee is fat client (LTSP_FATCLIENT=True) and HP Mini 2133 is thin 
client (LTSP_FATCLIENT=False).

I can verify it this way. Server can't see LXDE, it is in client side.
But server run XFCE4 and sees it.

root@ltsp:~# ps ax | grep lxde
24975 pts/5    S+     0:00 grep lxde
root@ltsp:~#

root@ltsp21:~# ps ax | grep lxde
1867 tty7     S      0:00 su - ltspmx001 -c  LTSP_CLIENT=192.168.0.21 
LTSP_CLIENT_HOSTNAME=ltsp21 LC_ALL=fi_FI.UTF-8 LANGUAGE=fi_FI.UTF-8 
LANG=fi_FI.UTF-8 DISPLAY=:7 
ICEAUTHORITY=/var/run/ldm-xauth-RblDIs0VN/ICEauthority 
XAUTHORITY=/var/run/ldm-xauth-RblDIs0VN/Xauthority /etc/X11/Xsession 
/usr/bin/startlxde
1943 tty7     S      0:00 /usr/bin/ck-launch-session 
/usr/bin/dbus-launch --exit-with-session /usr/bin/startlxde
1975 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/ck-launch-session 
/usr/bin/dbus-launch --exit-with-session /usr/bin/startlxde

root@ltsp:~# ps ax | grep xfce
24776 ?        Ss     0:00 bash -c  LTSP_CLIENT=192.168.0.20 
LTSP_CLIENT_HOSTNAME=ltsp20 LC_ALL=fi_FI.UTF-8 LANGUAGE=fi_FI.UTF-8 
LANG=fi_FI.UTF-8 DISPLAY=192.168.0.20:7 
PULSE_SERVER=tcp:192.168.0.20:4713 ESPEAKER=192.168.0.20:16001 
LTSP_ALSA_DEFAULT=pulse /etc/X11/Xsession /usr/bin/startxfce4 < 
/dev/null > /dev/null ; /usr/sbin/ltspfsmounter all cleanup
24779 ?        S      0:00 /usr/bin/ck-launch-session 
/usr/bin/dbus-launch --exit-with-session /usr/bin/startxfce4
24809 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/ck-launch-session 
/usr/bin/dbus-launch --exit-with-session /usr/bin/startxfce4

*
So with LTSP_FATCLIENT=True/False you can switch any client from fat to 
thin and vice versa.

Hope this helps you.

Best Regards Asmo Koskinen.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-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