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.

No comments:

Post a Comment