Sources:
https://medium.com/@vivekteega/how-to-setup-an-xrdp-server-on-ubuntu-18-04-89f7e205bd4e
You need to install 2 things
xrdp
display manager
Step 5 - Add configuration
echo xfce4-session >~/.xsession
https://medium.com/@vivekteega/how-to-setup-an-xrdp-server-on-ubuntu-18-04-89f7e205bd4e
You need to install 2 things
xrdp
display manager
Step 1- Install xRDP
sudo apt-get update
sudo apt-get install xrdp
Step 2- Install your preferred desktop environment
# XFCEsudo apt-get install xfce4 #Optional stuff sudo apt-get install xfce4-terminal sudo apt-get install gnome-icon-theme-full tango-icon-theme
or
# MATEsudo apt-get install mate-core mate-desktop-environment mate-notification-daemon
Step 3- Tell xRDP to use your environment
# XFCEsudo sed -i.bak '/fi/a #xrdp multiple users configuration \n xfce-session \n' /etc/xrdp/startwm.sh
or
# MATEsudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh
Step 4- Firewall permission
# allow just RDP through the local firewall sudo ufw allow 3389/tcp# restart xrdp sudo /etc/init.d/xrdp restart
Step 5 - Add configuration
echo xfce4-session >~/.xsession
No comments:
Post a Comment