How to set up an xRDP server on Ubuntu 18.04? | Netooze
This tutorial describes how to set up an xRDP server to connect to Ubuntu 18.04 with a lightweight Xfce or MATE environment via RDP. This can be very convenient when connecting from operating systems of the Windows family without the use of special tools.
What is xRDP?
xRDP is a free and open source implementation of Microsoft's RDP (Remote Desktop Protocol) that allows operating systems other than Microsoft Windows (such as Linux and BSD) to provide a fully functional RDP-compatible remote desktop.
Installation and setup
sudo apt-get update
sudo apt-get install xrdp
sudo systemctl enable xrdp
sudo apt-get install xfce4 xfce4-terminal
sudo sed -i.bak '/fi/a #xrdp multiple users configuration n xfce-session n' /etc/xrdp/startwm.sh
sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon
sudo sed -i.bak '/fi/a #xrdp multiple users configuration n mate-session n' /etc/xrdp/startwm.sh
sudo ufw allow 3389/tcp
sudo /etc/init.d/xrdp restart
To connect, open the Windows Remote Desktop Connection application. Enter the server IP address and username and click Connect:
When connecting, a security warning will appear, this is due to the fact that a connection is being made to the OS of the Linux family. Click Yes:
In the window that opens, select Xorg as the session, enter the password for the user, click OK:
This will connect to the desktop.
Xfce desktop environment:
Desktop with MATE environment:
Десктоп с окружением MATE:
Netooze® is a cloud platform, offering services from data centers globally. When developers can use the straightforward, economical cloud that they love, businesses expand more quickly. With predictable pricing, thorough documentation, and scalability to support business growth at any stage, Netooze® has the cloud computing services you need. Startups, enterprises, and government agencies can use Netooze® to lower costs, become more agile, and innovate faster.