KVM-VDI Session Screen Script for LTSP thin clients running under Ubuntu 16.04 xenial

Sweet new open source project: github.com/Seitanas/kvm-…

It is required to run the installation readme above to use KVM-VDI.

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

Run the following on your Ubuntu LTSP server, this will install packages you’ll need on the thinclient: (Replace <base> with whatever you used for ltsp-build-client –chroot <base>)

ltsp-chroot --arch <base> -m
apt-get xdotool x11-utils xwit python python-requests virt-viewer freerdp-x11 pulseaudio xinit
exit

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

Here is an example: ltsp-build-client.conf


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

#KVM-VDI Remote Desktop to Virtual Machine
SCREEN_07 = vdi

Here is an example: lts.conf

Put the below screen script into: vdi <– Right click and “Save link as”
/opt/ltsp/<base>/usr/share/ltsp/screen.d/
IMPORTANT: Be sure to name it “vdi

The last step is to run

ltsp-update-image <base>

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, and a SPICE session script here.

(ldm is enabled on VT_07 by default)

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.