The script will support the following Ubuntu operating system version assuming that Gnome Desktop is the default Desktop interface.
- Ubuntu 18.04.x
- Ubuntu 20.04.x
- Ubuntu 21.10.x
- Ubuntu 22.04.x
- Debian 10, Debian 11
Note
Note: This is a third-party script, and it’s offered without guarantee. Use it at your own risk. You have been warned.
1. Download the script using wget.
wget https://www.c-nergy.be/downloads/xRDP/xrdp-installer-1.4.zip -O /tmp/xrdp-installer-1.4.zip
2. Unzip the downloaded file
cd /tmp
unzip xrdp-installer-1.4.zip
3. Mark it as executable.
sudo chmod +x /tmp/xrdp-installer-1.4.sh
4. The script needs to be run as a normal user. The script will start running and will prompt you for password when sudo actions are initiated.
./xrdp-installer-1.4.sh
Remove Installation option
This version of the script also ship with the option to remove xRDP package. The removal option should be only used if you have uses this version of this script to perform the installation. To remove the xrdp package, you would simply execute the following command
cd /tmp
./xrdp-installer-1.4.sh -r
Credit: https://c-nergy.be/blog/?p=17810
5/5 - (1 vote)