Tag Archives: LTSP Server

Linux Mint LMDE Server Setup #3: Epoptes for LTSP

Here is how I installed Epoptes on my LMDE Server:

1. Install epoptes:

$ sudo apt-get install epoptes

2. Add user to group epoptes:

$ sudo gpasswd -a <username> epoptes

3. Install x11vnc in order to enable screen broadcast:

$ sudo apt-get install x11vnc

4. Install epoptes-client on ltsp client:

$ sudo chroot /opt/ltsp/i386
# apt-get install epoptes-client
# epoptes-client -c
# exit

5. Reboot computer, start ltsp-client and start epoptes:

epoptes1epoptes2epoptes3

6. Enjoy!

Linux Mint LMDE Server Setup #1: Install LTSP Server

Here is how I installed LTSP Server for 32 bit Clients on Linux Mint Debian Edition 64 bit MATE:

1. Install LTSP server:

$ sudo apt-get install ltsp-server-standalone

2. Set static IP address:

My computer has 3 network adapters (eth0, eth1 and wlan0). I want eth1 to be used by dhcp-server and the rest will be dynamically managed by network-manager.

2.1. Start text editor:

$ sudo nano /etc/network/interfaces

2.2. My “/etc/network/interfaces” looks like this:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth1
iface eth1 inet static
 address 192.168.67.1
 netmask 255.255.255.0

3. Configure DHCP Server:

3.1. Edit file “/etc/ltsp/dhcpd.conf”:

#
# Default LTSP dhcpd.conf config file.
#

authoritative;

subnet 192.168.67.0 netmask 255.255.255.0 {
 range 192.168.67.20 192.168.67.250;
 option domain-name "homenet.local";
 option domain-name-servers 192.168.67.1;
 option broadcast-address 192.168.67.255;
 option routers 192.168.67.1;
 next-server 192.168.67.1;
# get-lease-hostnames true;
 option subnet-mask 255.255.255.0;
 option root-path "/opt/ltsp/i386";
 if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
 filename "/ltsp/i386/pxelinux.0";
 } else {
 filename "/ltsp/i386/nbi.img";
 }
}

3.2. Append “/etc/ltsp/dhcpd.conf” at the end of file “/etc/dhcp/dhcpd.conf”:

$ su
# echo "include \"/etc/ltsp/dhcpd.conf\";" >> /etc/dhcp/dhcpd.conf

4. Build client:

$ sudo ltsp-build-client --dist wheezy --arch i386

5. Share LTSP root directory on NFS drive:

$ su
# echo "/opt/ltsp          *(ro,no_root_squash,async,no_subtree_check)" >> /etc/exports

6. Restart Computer.

7. Boot Thin Clients:

screenshot-20150222@184523

8. Enjoy!