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 options are:
#Spice KVM Remote Desktop to virtual machine SPICE_SERVER = "192.168.11.5" SPICE_OPTIONS = "--kiosk-quit=on-disconnect --kiosk" SCREEN_07 = remote-viewerPut the below screen script goes into
IMPORTANT: Be sure to name it “remote-viewer“
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
(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)
[default] SCREEN_07 = menu #RDP windows Remote Desktop RDP_SERVER = "/v:192.168.56.25" RDP_OPTIONS = "/u:client /p:password /sound /microphone /multimedia /rfx /cert-ignore /drives /f" VNC_SERVER = 192.168.56.5 VNC_OPTIONS = "-fullscreen -autopass" VNC_PASSWORD = "password" SPICE_SERVER = "192.168.56.1" SPICE_OPTIONS = "--kiosk-quit=on-disconnect --kiosk" MENU_ITEM_01="Ubuntu 16.04 LTSP" MENU_COMMAND_01="ldm" MENU_ITEM_02="Windows 10 Professional" MENU_COMMAND_02="xfreerdp" MENU_ITEM_03="macos 10.11" MENU_COMMAND_03="vncviewer" MENU_ITEM_04="android 5.5" MENU_COMMAND_04="vncviewer 192.168.56.6" MENU_ITEM_05="KVM Virtual Machine (linux,MacOS,Windows)" MENU_COMMAND_05="remote-viewer" MENU_TITLE="Please choose a desktop: " LDM_DIRECTX = True
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:
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.
You’re so welcome! Let me know it works out. =]