Most of the following commands request root permissions. Use the sudo command or become root to run them.
A great source of help: https://help.ubuntu.com/community/UbuntuLTSP
Set the server
Configure the sources to use the cache of the server
#create /etc/apt/apt.conf if it does not exist and add following line
Change the hostname
#if not successful reboot...
Install and configure LTSP
Edit the installation option of ltsp-build-client
Create and edit the following file for the unattented Java and msttcorefonts installation
Build the client
#Various options can be set for the Fat Client. They can be set in the /var/lib/tftpboot/ltsp/i386/lts.conf file.
#Here is a list of the options that can be used: http://manpages.ubuntu.com/manpages/precise/man5/lts.conf.5.html
#You don't need to build the client or update the image after changing an option
#You can use the fat chroot also to run thin clients, not only fat ones. This way you can have a mix of powerful and not powerful clients, that they will become "fat" or "thin" based upon their RAM (consider fat chroot a "superset" of a thin one, so thin boot uses only a small but common part of it). The parameter that affects the RAM threshold is:
that defaults to 300 (MB). So if you want your client boot as FAT ones only if they have more than 800MB edit lts.conf and put:
Another interesting feature is have a server's directory available to all the fat clients. For instance, to have the fat clients mount as their own /srv the /srv of the server add this parameter:
Some other options can be set (example of lts.conf file in Deepanam School)
Install and configure DHCP
Configure the interface
Set up DHCP
sudo /etc/init.d/networking restart
sudo /etc/init.d/isc-dhcp-server restart
#If problems kill NetworkManager or even uninstall it as it interferes with the dhcp config.
Install and configure LDAP
Follow the server installation from this guide: http://wiki.bluelightav.org/display/BLUE/LDAP+Authentication+-+Ubuntu+12.04
Install and configure NFS3
apt-get install nfs-kernel-server
#edit and add the following
#edit & set:
#edit & set:
Finish the configuration by changing some permissions
#edit & add the following at the end of the file
auth-client-config -S > /etc/auth-client-config/profile.d/original
auth-client-config -p bl-ldap -a
#edit & add before "@include common-auth":
The Basic Installation is done
Update the client
#The Fat Client doesn't need to be configured for ldap and NFS as it uses the parameters of the server for logging and nscd ot mount the associated folder.
Chroot in the system (from the server)
Make the changes you need
#Like adding software, removing some, changing some configs...
Finalise the client
- Exit the chroot
- Update the kernel if needed
- Update the image
Other useful things
Change password of a user
The changing of the password in Unity (http://wiki.bluelightav.org/display/BLUE/How+to+change+the+password+of+an+LDAP+user+with+Unity+in+Ubuntu+12.04) is not available on the Fat Client.
Autologin on specific clients
Edit /var/lib/tftpboot/ltsp/i386/lts.conf and add the following replacing the mac, password and username according to your needs. You can replace the mac address by the IP.
Recreate the i386 folder from the .img
Extract the valid image with:
Personalize the LDM theme
The LDM themes images are located in /opt/ltsp/i386/usr/share/ldm/themes/
- Copy the original theme you want to modify or place one you downloaded
- Modify as necessary
- Create a link from default to the themes folder (or /etc/alternatives/ldm-theme, it is the default option but you will have to copy the contain of your theme folder there) or or use the following option in lts.conf:
LDM_THEME = newthemedirectoryname (no need of the full path)
- update the image (ltsp-update-image)
Alternate way to setup a Fat Client system
The client freeze when halting
This is due to a bug in LTSP