{"id":54,"date":"2024-08-20T10:51:50","date_gmt":"2024-08-20T15:51:50","guid":{"rendered":"https:\/\/www.eeinc.us\/homelab\/?p=54"},"modified":"2024-08-20T10:51:50","modified_gmt":"2024-08-20T15:51:50","slug":"rocky-linux-desktop-sharing-via-rdp","status":"publish","type":"post","link":"https:\/\/homelab.eeinc.us\/index.php\/2024\/08\/20\/rocky-linux-desktop-sharing-via-rdp\/","title":{"rendered":"Rocky Linux Desktop Sharing via RDP"},"content":{"rendered":"\n<p>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.<\/p>\n\n\n\n<p><strong>Note:<\/strong> the commands executed assume you are running as the &#8216;root&#8217; user. I know, I know, this is not recommended, that you should use &#8216;sudo&#8217;, etc., but since this is in my lab, I am willing to accept the risks while taking a shortcut.<\/p>\n\n\n\n<p>(1) Install \/ configure the <strong>Extra Packages for Enterprise Linux (EPEL)<\/strong> repository.<\/p>\n\n\n\n<p><code>dnf install epel-release<\/code><br><code>dnf config-manager --set-enabled crb<\/code><\/p>\n\n\n\n<p>(2) Install \/ enable the XRDP package<\/p>\n\n\n\n<p><code>dnf install xrdp<\/code><br><code>systemctl enable --now xrdp<\/code><\/p>\n\n\n\n<p>(3) Configure the firewall to allow the RDP protocol<\/p>\n\n\n\n<p><code>firewall-cmd --zone=<em>zone_name<\/em> --add-service=rdp --permanent<br>firewall-cmd --reload<\/code><\/p>\n\n\n\n<p>(4) Open your favorite RDP Application and connect to the IP Address \/ Hostname of this system.<\/p>\n\n\n\n<p><strong>Note:<\/strong> You cannot login to a RDP session if there is a local console user currently logged in using the same ID\/PW.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;root&#8217; user. I know, I know, this is not recommended, that you should use &#8216;sudo&#8217;, etc., but<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions\/55"}],"wp:attachment":[{"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/homelab.eeinc.us\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}