Sunday, December 23, 2007

LTSP cannot login from Client

this night i've been headcache cause user cannot login, what imagine with tommorow, see this site than i can fall in bed getting new and nice dream

Edubuntu FAQ

This page answers some frequently asked questions about Edubuntu. This page contains information taken from the Edubuntu mailing lists, IRC channel, wiki, and other sources.


What is Edubuntu?

Edubuntu is the education-focused variant of Ubuntu, with a fast and easy install, regular releases, and a tight selection of excellent packages installed by default, including education and productivity applications. An incredible variety of packages is available with a few clicks from a global network of mirrors, and professional commercial technical support from Canonical Ltd and hundreds of other companies around the world.

Where can I get help with Edubuntu?

There are a number of ways to get help. [WWW] lists several, including:

Thin Clients & LTSP

I can login directly to the server, but I cannot log in to my thin clients.

Try logging into the server and running:

  • sudo ltsp-update-sshkeys

When your thin client logs you into the server, it checks the server's identity by looking at its ssh key. Most often, if the server's IP address gets changed, the key no longer matches and logins fail. The command above will update the list of keys and IP addresses.

More information on debugging logins can be found here: [WWW] DebugThinClientLogin.

Where can I get good documentation on Edubuntu thin clients?

What sort of hardware can I use for the thin clients and the server?

Thin client hardware is discussed in detail here: [WWW]

Are there graphical management tools for the thin clients?

Yes. Under the System->Administration menu, choose Thin Client Manager.

Can I have some of my thin clients work as anonymous web kiosks?

Yes. You need to build a separate LTSP root environment on the server. The command to do this looks something like this:

sudo ltsp-build-client --kiosk --base /opt/ltsp-kiosk/

Then, configure the DHCP server (/etc/ltsp/dhcpd.conf) to tell those thin clients to use the kiosk root by typing:

option root-path="/opt/ltsp-kiosk/"

How do I modify the login screen on my thin clients?

The login screen on thin clients is generated by ldm running on the thin client. You can modify this, in the ltsp chroot environment /opt/ltsp/i386/usr/share/ldm/themes/ by making a copy of the theme, making your copy the default, and modifying the artwork

sudo cp -r /opt/ltsp/i386/usr/share/ldm/themes/Edubuntu /opt/ltsp/i386/usr/share/ldm/themes/MyTheme
sudo rm /opt/ltsp/i386/usr/share/ldm/themes/default
sudo ln -s /opt/ltsp/i386/usr/share/ldm/themes/MyTheme /opt/ltsp/i386/usr/share/ldm/themes/default

Now just modify the images in /opt/ltsp/i386/usr/share/ldm/themes/MyTheme

Sound doesn't work on flash applets (eg youtube videos) on my thin clients!

This issue was a long-standing problem with the proprietary Adobe Flash Plugin. It has recently been fixed, although the fix did not make it into Edubuntu 7.04 (Feisty Fawn). The simplest way to fix this issue is to download and install the libflashsupport package on your server by typing these commands:

sudo dpkg -i libflashsupport_1.0~2219-1_i386.deb

You can find more information on this fix and what it does here: [WWW]

Can I set up LTSP over a wireless connection?

A short overview about how thin clients boot:

  1. thin client starts and sends a PXE or Etherboot request to the network

  2. DHCP server answers and tells the client where to get the kernel and the system from

  3. client pulls kernel via TFTP and mounts the filesystem via NFS from the server

WLAN cards don't support PXE or Etherboot, so there is no way for the thin client to send a PCE or Etherboot request to the network with a wireless card. The only way to achieve this would be to have the kernel and initramfs stored locally somehow (which indeed is not a LTSP setup anymore but rather a minimal local boot that mounts its filesystem via NFS). Additionally you would need to handle the ESSID for the WLAN as well as potential encryption via bootoptions.

It is not impossible to build a locally booting WLAN image, but you will always need local media (usb-stick, flashcard or CD) to boot from and it is far from being supported by us (implementing it will take some time and testing).

My Edubuntu server keeps filling up with files on /tmp!!!

This was a problem up to and including Edubuntu Feisty. They are old, temporary "swap" files from thin clients which were not shutdown properly. Adding the following line to /etc/hosts.allow:

nbdswapd: ALL: keepalive

should stop newly created files getting left around. You may find it easiest to reboot to clear the existing ones though.

How do I set the root password on the thin clients?

In order to debug individual thin clients it can be useful to be able to login in a text session on the thin client. To do this:

  1. Login as normal and start a terminal (under applications->accessories menu).

  2. Type sudo chroot /opt/ltsp/i386 and press return. You will be prompted for your password.

  3. At the next prompt, type passwd and press return. You will be prompted for the root password for the thin clients.

  4. If you're running gutsy (v7.10) or newer, you must now run sudo ltsp-update-image and reboot the thin client you wish to login to.

Having done the above, you can go to any of your thin clients, hold <ctrl><alt> and press F1. You should now be able to login with the username root and the password you set.

How can I automatically create large numbers of users?

There isn't currently a way within the standard system "users and groups" manager tool. However, several ways exist which were mentioned in this thread on edubuntu-users mailing list.


most of the ideas centre around the createusers script which is part of Matt Oquist's smbldap setup script.


I can't get USB storage keys/devices to work on thin clients

One of the most common reasons for USB storage devices not to work is the user needs to be in the fuse group. By running the groups command a user can check what groups he is in. You can change user groups in the user admin tool which you use to create users.

If that isn't the answer, there are instructions for debugging local devices here:

* [WWW]

Thin clients prompt three times for password, even when the username is wrong.

This problem was discussed here: [WWW]

To fix it, edit /opt/ltsp/i386/etc/ssh/ssh_config and add this line to the bottom:

  •     NumberOfPasswordPrompts 1                                                                                                                                                                                     

Then run:

        sudo ltsp-update-images

and reboot your thin client. It should prompt for the username every time after that.

updated 29-Jun-2010 because of Our brother in Kembangan Called Me, He needs step by step guide

CategoryDocumentation CategoryCleanup