Installing an LTSP Server

1. Install Ubuntu

2. Installing on top of an already running desktop system
sudo apt-get install ltsp-server-standalone
sudo ltsp-build-client

3. Edit dhcp.conf to specify ip range
vi /etc/ltsp/dhcpd.conf
Add mask and Gateway address. This file will serve the ip range 192.168.0.20 192.168.0.250 by default. You may leave it as it is.

4. Update ltsp image 
sudo ltsp-update-image


LTSP Troubleshooting:
1. TFTP Error
I found that $/etc/init.d/tftpd-hpa start has no effect until I modified the file /etc/default/tftpd-hpa. Just replace YES instead of NO in the first line. It should be like, RUN_DAEMON="yes"

* Now run $/etc/init.d/tftpd-hpa start. You will get the response.
* Now check your client.

2. udhcpc: Sending discover Sending select Recieved DHCP NAK look loop
A quick fix is to put ipappend 3 at a new line in the end of /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default

3. ubuntu ltsp error failed to connect to nbd server
sudo /etc/init.d/tftpd-hpa restart