How to Install Remote Desktop (xrdp) on Ubuntu.
In this guide, we will explain how to install Remote Desktop Protocol using xrdp on Ubuntu Instance, enabling seamless remote access to your system for enhanced productivity
Install Xrdp on Ubuntu
XRDP: Remote Desktop Protocol Server for Unix-like Systems
XRDP is an open-source server application that allows you to utilize Microsoft's Remote Desktop Protocol (RDP) on operating systems aside from Windows, including Linux and BSD variants. This enables seamless remote desktop access between Windows clients and non-Windows servers, offering a cohesive environment for mixed-OS networks.
xRDP allows users to connect to a Linux machine from another computer using a compatible RDP client.
Steps Of Installing Xrdp On Ubuntu
Update Ubuntu Server
Install Graphical Interface
Install Xrdp
Connect To Xrdp
Update && upgrade the system
sudo apt-get update -y && apt-get upgrade -y
Installing XRDP
sudo apt-get install xubuntu-desktop -y
sudo apt-get install xrdp -y
Check the status and start, enabling the service of xrdp
systemctl status xrdp

systemctl start xrdp
systemctl enable xrdp
Add Xrdp User To SSL-Cert Group
sudo usermod -a -G ssl-cert xrdp
Now again restart the service
systemctl restart xrdp
Firewall configuration
sudo ufw allow 3389/tcp
check the status and start, enable the UFW
ufw status
ufw enable
ufw reload

Connect to Remote Desktop

Enter Ubuntu server user and password


Troubleshooting -
If you encounter issues after entering your username and password, as illustrated in the provided image:

Certainly! Please provide the original markdown content you need help with for a revised version.
service xrdp stop
vi /etc/xrdp/startwm.sh
so this content comment out (#)
"test -x /etc/X11/Xsession && exec /etc/X11/Xsession exec /bin/sh" "/etc/X11/Xsession"
Add this content -
startxfce4

service xrdp start
Last updated