Sunday, 10 November 2019

How to Install XRDP Remote Desktop Server on CentOS 8

XRDP is an Open Source Remote Desktop Protocol Server, which is allowing users to take remote desktop of Linux Operating System from RDP clients. XRDP uses RSA Public Key and Private Key encryption to transfer data over the network.
This article describes How to Install XRDP Remote Desktop Server on CentOS 8

Step 1: GUI Installation: Install GUI if already not done, Follow the article Howto Install Gnome GUI on CentOS 8 Using YUM Group Install.

Step 2: Enable EPEL Repo, Follow the article Howto configure EPEL repository on CentOS 8.

Step 3: Package Installation: Follow the below commands to Install XRDP and tigervnc packages:

[root@linuxcnf ~]# dnf install xrdp tigervnc-server -y
  tigervnc-server-1.9.0-9.el8.x86_64                        xrdp-1:0.9.11-5.el8.x86_64                        xrdp-selinux-1:0.9.11-5.el8.x86_64

[root@linuxcnf ~]#

Step 4: Starting Services: Run the following commands to start xrdp service and enable service at startup:

[root@linuxcnf ~]# systemctl start xrdp
[root@linuxcnf ~]# systemctl enable xrdp
Created symlink /etc/systemd/system/ /usr/lib/systemd/system/xrdp.service.
[root@linuxcnf ~]#

Step 5. Firewall Configuration: Configure firewall to allow clients to access Remote Desktop using windows tool mstsc:

[root@linuxcnf ~]# firewall-cmd --permanent --zone=public --add-port=3389/tcp
[root@linuxcnf ~]# firewall-cmd --reload
[root@linuxcnf ~]#

Done!!! Now connect the RDP using windows utility mstsc.


  1. Services may be the professional on personalization they were positive, obvious and extremely vibrant. Tech Support On Demand

  2. If you are searching for a company to host your personal or business website, I would like to take this opportunity to share with you some of the web hosting horror stories we heard over the years. I am continually amazed at the stories I hear and the number of people who have had to deal with bad web hosts. Most of the stories we hear are about lousy customer support or poor server performance.