Rocky Linux Desktop Sharing via RDP

Rocky Linux Desktop Sharing via RDP

Your (Gnome) desktop on Rocky Linux can be shared using the Remote Desktop Protocol (RDP). This guide will show you how to enable the RDP protocol using XRDP.

Note: the commands executed assume you are running as the ‘root’ user. I know, I know, this is not recommended, that you should use ‘sudo’, etc., but since this is in my lab, I am willing to accept the risks while taking a shortcut.

(1) Install / configure the Extra Packages for Enterprise Linux (EPEL) repository.

dnf install epel-release
dnf config-manager --set-enabled crb

(2) Install / enable the XRDP package

dnf install xrdp
systemctl enable --now xrdp

(3) Configure the firewall to allow the RDP protocol

firewall-cmd --zone=zone_name --add-service=rdp --permanent
firewall-cmd --reload

(4) Open your favorite RDP Application and connect to the IP Address / Hostname of this system.

Note: You cannot login to a RDP session if there is a local console user currently logged in using the same ID/PW.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll Up