Build a chroot client
The Greek Schools repository
sudo add-apt-repository --yes ppa:ts.sch.gr
Grab freerdp’s key
cd /etc/ltsp sudo wget http://pub.freerdp.com/repositories/ADD6BF6D97CE5D8D.asc
- Option 1 – with command
sudo ltsp-build-client --purge-chroot --mount-package-cache --mirror 'http://azure.archive.ubuntu.com/ubuntu/' \ --apt-keys '/etc/ltsp/ADD6BF6D97CE5D8D.asc, /etc/apt/trusted.gpg.d/ts_sch_gr_ubuntu_ppa.gpg' \ --extra-mirror 'http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu bionic main, http://pub.freerdp.com/repositories/deb/bionic/ freerdp-nightly main' \ --late-packages epoptes-client freerdp-nightly --prompt-rootpass \
- OR, Option 2 – using my ltsp-build-client.conf
sudo wget https://github.com/jphein/boxen/raw/master/etc/ltsp/ltsp-build-client.conf sudo ltsp-build-client --config ltsp-build-client.conf
Create some symlinks so freerdp-nightly is more easy t my lazy scripting
sudo ltsp-chroot ln -s /opt/freerdp-nightly/bin/xfreerdp /usr/bin/xfreerdp-nightly ln -s /usr/share/ltsp/screen.d/xfreerdp /usr/share/ltsp/screen.d/xfreerdp-nightly exit
Create GUI login screen for xfreerdp-nightly
cd /opt/ltsp/amd64/usr/share/ltsp/screen.d/ sudo wget https://raw.githubusercontent.com/jphein/boxen/master/rdpgui sudo wget https://raw.githubusercontent.com/jphein/boxen/master/xfreerdp-prompt sudo chmod +x rdpgui xfreerdp-prompt sudo ltsp-update-image
sudo ltsp-update-image
You may get this error on Microsoft Azure VM! bugs.launchpad.net/ubunt… hmmmm…. This script seems to fix it:
#!/bin/bash # tadaen sylvermane | jason gibson # configure locales for ubuntu bionic ltsp chroot creation for var in LC_ALL= LANG= ; do export "$var"en_US.UTF-8 done ltsp-build-client --chroot "$1"
- End of Option 2