How to Install Xrdp with GNOME GUI on AlmaLinux 8

Xrdp is a free and open-source implementation of the Microsoft RDP server that enables operating systems other than Microsoft Windows to provide a fully functional RDP-compatible remote desktop experience. In this article, we are going to learn how to install Xrdp with GNOME GUI on AlmaLinux 8. So, let’s get started.

Checkout the Xrdp Project Here.

Try this wiki on our VPS. Starts just at $5/month with 24x7 In-house customer support.

Pre-requisites :

  • A system with AlmaLinux 8 installed and running.

  • root access to the system.

  • LAMP Stack installed and running, for this, you can refer to one of our guides on installing the LAMP Stack (Apache, MariaDB, and PHP).

Once you're all set, we'll proceed with Xrdp with GNOME DUI installation and configuration.

Installing Gnome GUI

Install Gnome GUI

yum groupinstall "Server with GUI"

To enable the GUI as default and boot into graphical mode.

systemctl set-default graphical

Install Xrdp

Let's install and enable Xrdp using the below commands.

dnf install xrdp

systemctl start xrdp

systemctl enable xrdp

Enable Firewall

firewall-cmd --permanent --add-port=3389/tcp

firewall-cmd --reload

Reboot the system

To boot into Graphical mode, we will reboot the system with the below command,

reboot

Let's connect Xrdp using Windows RDP

After the successful installation of Xrdp with GNOME GUI. We can connect to the remote server using Windows RDP Connection.
Open the Remote Desktop Connection on your Windows computer and enter the public IP of the AlmaLinux server.
Once you click on "Connect" you will be prompted to enter the login credentials to access the Server. After login, complete the GUI Setup.

To find the Public IP of your VPS hosted with us, Click here.

Now you have successfully installed Xrdp with GNOME GUI on AlmaLinux 8.