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-releasednf config-manager --set-enabled crb
(2) Install / enable the XRDP package
dnf install xrdpsystemctl 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.