Spice Session Screen Script for LTSP thin clients running under Ubuntu

LTSP does not come with a built in Spice (client) script. So, I created one.
This is useful if you want your thinclients to be able to remote into a KVM VDI.

I use the virt-viewer package. Run the following on your Ubuntu LTSP server:

NOTE: You can also add this to the build client config file so that any time you upgrade or build your client image it automatically installs it. –> /etc/ltsp/ltsp-build-client.conf

The /var/lib/tftpboot/ltsp/<base>/lts.conf options are:

Put the below screen script goes into
/opt/ltsp/<base>/usr/share/ltsp/screen.d/
IMPORTANT: Be sure to name it “remote-viewer

remote-viewer <– Right click and “Save link as”

The last step is to run

LTSP comes with these screen scripts by default:

kiosk ldm menu rdesktop shell ssh startx telnet xdmcp xfreerdp xterm

I created a vnc session script here

(ldm is enabled on VT_07 by default)

I use the menu screen script on VT_07 so that it gives me the option of what desktop to log into. My lts.conf looks like this: (lts.conf default location is: /var/lib/tftpboot/ltsp/i386/ or /amd64/ you may have to create it)

As you can see this gives the thinclient to terminal into Linux, Windows, MacOS, or Android. Either shared, or personal virtual machines. o_o

You can view how to enable remote desktop in MacOS here:

https://help.ubuntu.com/community/AppleRemoteDesktop

2 thoughts on “Spice Session Screen Script for LTSP thin clients running under Ubuntu

  • Before reading your post (/spice-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/) I was offering ldm as default screen for 184 thin clients. Now our users can choose the desired desktop without having to know switch between terminals using Ctrl+Alt+F[1234567]. Thank you for sharing your knowledge.

Leave a Reply

Your email address will not be published. Required fields are marked *