How to Build a LTSP chroot client image with the latest Greek schools PPA, and XfreeRDP Nightly

Build a chroot client

The Greek Schools repository 

sudo add-apt-repository --yes

Grab freerdp’s key 

cd /etc/ 
sudo wget
  • Option 1 – with command
sudo ltsp-build-client --purge-chroot --mount-package-cache --mirror '' \
 --apt-keys '/etc/ltsp/ADD6BF6D97CE5D8D.asc, /etc/apt/trusted.gpg.d/ts_sch_gr_ubuntu_ppa.gpg' \
 --extra-mirror ' bionic main, freerdp-nightly main' \
 --late-packages epoptes-client freerdp-nightly --prompt-rootpass \
  • OR, Option 2 – using my ltsp-build-client.conf
sudo wget
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

Create GUI login screen for xfreerdp-nightly

cd /opt/ltsp/amd64/usr/share/ltsp/screen.d/

sudo wget

sudo wget

sudo chmod +x rdpgui xfreerdp-prompt

sudo ltsp-update-image
sudo ltsp-update-image
You may get this error on Microsoft Azure VM!… hmmmm…. This script seems to fix it:

# 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
ltsp-build-client --chroot "$1"
  • End of Option 2

Leave a Reply

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