Tuesday, 21 March 2023

How to Install XRDP Remote Desktop on CentOS 9 Stream



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.
 
Step 1: GUI Installation: Install GUI if already not done, Follow the article How to Install Gnome GUI on CentOS 9 Using DNF Group Install.
 
Step 2: Enable EPEL Repository: Follow the article How to install EPEL repository on CentOS 9 Stream to install and enable EPEL repository.
 
Step 3: Package Installation: Follow the below commands to Install XRDP and tigervnc packages:
 
[root@linuxcnf ~]# dnf install xrdp tigervnc-server
……………………..
Installed:
……………………..
  xrdp-1:0.9.21-1.el9.x86_64
  xrdp-selinux-1:0.9.21-1.el9.x86_64
 
Complete!
[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/multi-user.target.wants/xrdp.service /uslib/systemd/system/xrdp.service.
[root@linuxcnf ~]# systemctl status xrdp
xrdp.service - xrdp daemon
     Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; preset: di
     Active: active (running) since Tue 2023-03-21 18:34:38 IST; 23s ago
……………………..
[root@linuxcnf ~]#
 
Done!!! Now connect the RDP using TigerVNC and windows RDP utility MSTSC to a CentOS 9 Stream System.

1 comment:

  1. Why do you use dnf install xrdp tigervnc-server ? Why add the tigervnc-server part?

    ReplyDelete