RDP thinclient with xubuntu 18.04 and xfreerdp

  1. Download xubuntu 18.04 (32 or 64bit version)
  2. Install it, and during installation create a new user as required, username must be uterm or my scripts will not work
  3. Boot your installation, upgrade the system and then
    sudo apt-get install openssh-server freerdp2-x11
  4. Open a terminal and execute the following commands:
    cd
    rm .xprofile .xsessionrc
    [ -d pterm ] || mkdir pterm
    cd pterm
    rm 10-autologonpterm.conf.txt xsessionrc.txt .myptermid countdown.py 2> /dev/null
    rm power-button-off.png ptermlogo.png 2> /dev/null
    wget http://www.giovanni.panozzo.it/guides/pterm/10-autologonpterm.conf.txt
    wget http://www.giovanni.panozzo.it/guides/pterm/xprofile.txt
    wget http://www.giovanni.panozzo.it/guides/pterm/ptermconman.txt
    wget http://www.giovanni.panozzo.it/guides/pterm/ptermconfig.txt
    wget http://www.giovanni.panozzo.it/guides/pterm/ptermlogo.png
    wget http://www.giovanni.panozzo.it/guides/pterm/power-button-off.png
    mv xprofile.txt ../.xprofile
    mv ptermconman.txt ptermconman.py
    mv ptermconfig.txt .config
    chmod 755 ptermconman.py
    
    And then (this requires to enter the uterm user password)
    sudo mv 10-autologonpterm.conf.txt /etc/lightdm/lightdm.conf.d/10-autologonpterm.conf
    
  5. Now edit the ptermconman.py file and customize it at the beginning.
  6. Reboot, and you should get an authentication prompt for RDP (NLA) credentials.
Other notes

Other projects on github/gitlab

  • TsLsUsers a windows commandline tool to list and disconnect all RDP/RDS/TS users
  • ScreenTextScroller an application for linux/windows/mac to show a scrolling text in fullscreen, with a web management interface.
  • Contacts

    Write me at giodev@panozzo.it