Tag Archives: LTSP Client

Install Nvidia Graphic Card on LMDE3 LTSP Fat-Client

After spending 2 or 3 hours figuring out how to install Nvidia Graphic Card on one of my LTSP Fat Client. I decided to document my steps here.

I’m going to explain first what my hardware are and how I proceed which was unsuccessful.

I bought a Gigabyte GeForce GTX 1050 Ti OC 4G graphic card and installed it on a Dell Optiplex 3020 Fat Client. I started the client and it was up and running with low display resolution. And I downloaded the latest driver from Nvidia homepage. I tried to install this driver on my LTSP Server and the installer software refused to do so because the graphic card is not installed on the server. O.K. now I take off the card from the client and install it on the server. Start the server and there was nothing except green-gray and then black frame, after about 15 seconds the motherboard was beeping. I thought that the card had some kind of static electricity. I took off the card, touch all the connector pins with wet hands and at the same time touching the server chassis. Install it again, same thing happened. I googled a little bit and found a hint here. My server’s motherboard doesn’t support this graphic card!

Again, try to find the answer on the internet, I found this link and this solved my problem. Here are my steps:

    1.  Install nvidia-driver, nvidia-settings and nvidia-detect:
$ sudo apt-get install nvidia-driver nvidia-settings nvidia-detect
    1.  Update LTSP Image:
$ sudo ltsp-update-image --cleanup /
    1. Restart LTSP Client.

That’s it! Now the client can be used with Nvidia graphic card. It’s that easy.

LTSP Fat-Client on LMDE 3

I know this is maybe too late to write an article for LMDE 3. But this is what I currently use at my office. I made this setup more than 2 years ago. It took me a week to figure out the problem I had regarding LTSP-Server installation and configuration. Until now I didn’t have time to document it. I followed the instructions mainly from here. At our office we have 5 thin clients and one LTSP-Server. The configuration looks like this:

Sketch of LTSP at my office

Anyway, here are the steps that I did to install LTSP-Server at my office:

~$ sudo apt-get update
~$ sudo apt-get install ltsp-server-standalone dnsmasq epoptes epoptes-client ltsp-client network-manager-gnome dnsutils rsync

Add user to group “epoptes”, in this example “admin”:

~$ sudo usermod -G epoptes -a admin

Set the network like following screenshot:

Network settings

My “/etc/ltsp/dhcp.conf” looks like following:

#
# Default LTSP dhcpd.conf config file.
#

authoritative;

subnet 192.168.68.0 netmask 255.255.255.0 {
    range 192.168.68.20 192.168.68.250;
    option domain-name "example.com";
    option domain-name-servers 192.168.68.1;
    option broadcast-address 192.168.68.255;
    option routers 192.168.68.1;
    next-server 192.168.68.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";
    }
}

Restart network-manager service:

~$ sudo systemctl restart network-manager.service

Find out kernel version and reconfigure the package:

~$ uname -r
4.9.0-8-amd64
~$ sudo dpkg-reconfigure linux-image-4.9.0-8-amd64

Update ltsp-image:

~$ sudo ltsp-update-image --cleanup /

Here are some pictures of the client during booting:

ltsp client boot 1
ltsp client boot 2
ltsp client boot 3
ltsp client boot 4
ltsp client boot 5
ltsp client boot 6

Okay, that’s it about my LMDE 3 LTSP-Server installation.

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!