SDB:KIWI-LTSP quick start
tagline: From openSUSE
|Tested on openSUSE||Recommended articles||Related articles|
Follow these simple steps to get LTSP running.
Minimum Useful Specs:
Pentium processor running at 2+ ghz, 64 bit 512MB+200MB RAM per client RAM on the server 2 NICS if internet sharing is required
Download openSUSE Edu Li-f-e, create live USB stick or DVD. Install it and create users for the terminals using YaST, one user per terminal is required.
If you are not using Li-f-e then install kiwi-ltsp and kiwi-desc-ltsp packages from the server:ltsp repository. The following example shows how to do this for openSUSE Leap 42.1. If you are using a different operating system version, replace openSUSE_Leap_42.1 with the respective directory name:
zypper ar -r http://download.opensuse.org/repositories/server:/ltsp/openSUSE_Leap_42.1/ zypper in kiwi-ltsp kiwi-desc-ltsp
On Tumbleweed also install kiwi-image-ltsp and kiwi-image-ltsp-boot packages. Images for 64bit clients are kiwi-image-ltsp64 and kiwi-image-ltsp-boot64. 32bit server can be used to serve 64bit clients and vice versa. The following example shows the installation of the 32bit packages:
zypper in kiwi-image-ltsp kiwi-image-ltsp-boot
If you are not on Tumbleweed, install the image rpm packages manually, get the correct links for the kiwi-image-ltsp and kiwi-image-ltsp-boot packages from http://r.opensu.se/server:ltsp/openSUSE_Tumbleweed/noarch/
rpm -Uvh http://download.opensuse.org/repositories/server:/ltsp/openSUSE_Tumbleweed/noarch/kiwi-image-ltsp-13.2.1-24.6.noarch.rpm http://download.opensuse.org/repositories/server:/ltsp/openSUSE_Tumbleweed/noarch/kiwi-image-ltsp-boot-13.2.1-24.6.noarch.rpm
Please configure network according to the instructions in the linked article about KIWI-LTSP network configuration.
Warning: DO NOT do the next step without doing the network setup as described.
Configure everything script
Run the following command in terminal as root to configure all services according to the network setup done previously.
PXE booting PCs on the network should now get LTSP session from the server.
Disable LTSP server
To stop serving LTSP environment to the network disabling dnsmasq and klaoe services is enough:
Thin client configuration
Edit /srv/tftpboot/KIWI/root.default/etc/lts.conf as per your requirement. See man lts.conf after installing ltsp-docs package for variables that can be used.
Performance of thinclients can be improved by turning off encryption of X data, use the following variable to do that.
echo "LDM_DIRECTX=True" >> /srv/tftpboot/KIWI/root.default/etc/lts.conf