{"id":234,"date":"2017-11-29T17:23:11","date_gmt":"2017-11-29T17:23:11","guid":{"rendered":"http:\/\/cheapwindowsvps.com\/blog\/?p=234"},"modified":"2025-01-24T09:41:19","modified_gmt":"2025-01-24T09:41:19","slug":"what-xrdp-is-and-how-to-install-xrdp-on-centos-7","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/what-xrdp-is-and-how-to-install-xrdp-on-centos-7\/","title":{"rendered":"What XRDP is and How to Install XRDP on CentOS 7"},"content":{"rendered":"<p>For the uninitiated, RDP stands for Remote Desktop Protocol. And just like the expanded form suggests, it&#8217;s a protocol for a machine to accept remote desktop connections from other machines. XRDP is a server for CentOS 7 that implements this protocol and allows you to use different types of software to connect with your CentOS 7 server.<\/p>\n<p>Before we move on, though, let us answer a natural question: why do XRDP when we have SSH sessions? A very good question, except that SSH vs. RDP is not really a debate. While SSH is based on a text-driven environment, RDP is concerned with fully graphical (GUI-based) control of your CentOS 7 machine. That means you can launch programs, send email, even play games, just as if you were sitting right in front of your machine.<\/p>\n<p>The overall experience depends on your machine&#8217;s configuration and network performance, and is generally a bit clunky. But at times when you want someone (or yourself) to get behind the wheels and sort things out, there&#8217;s no beating the XRDP server.<\/p>\n<h2><strong>Installing XRDP on CentOS 7<\/strong><\/h2>\n<p>The first step is to install the EPEL repository so that its packages can be included into your system packages:<\/p>\n<blockquote><p># wget http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-7-5.noarch.rpm<\/p>\n<p># rpm -ivh epel-release-7-5.noarch.rpm<\/p><\/blockquote>\n<p>Then you need to update the yum package manager:<\/p>\n<blockquote><p># yum update<\/p><\/blockquote>\n<p>The next step is to actually install XRDP. You&#8217;ll also need the tigervnc-server package:<\/p>\n<blockquote><p># yum -y install xrdp tigervnc-server<\/p><\/blockquote>\n<p>Once done, you need to start the XRDP service and set it up to auto-launch when the system starts:<\/p>\n<blockquote><p># systemctl start xrdp.service<\/p>\n<p># systemctl enable xrdp.service<\/p><\/blockquote>\n<p>Finally, if you&#8217;re using a firewall, you&#8217;ll need to add an exception for the port 3389, which is what XRDP uses:<\/p>\n<blockquote><p># firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-port=3389\/tcp<\/p>\n<p># firewall-cmd &#8211;reload<\/p><\/blockquote>\n<p>And with that, you have XRDP up and running on your CentOS 7 machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the uninitiated, RDP stands for Remote Desktop Protocol. And just like the expanded form suggests, it&#8217;s a protocol for a machine to accept remote desktop connections from other machines. XRDP is a server for CentOS 7 that implements this protocol and allows you to use different types of software to connect with your CentOS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-234","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=234"}],"version-history":[{"count":6,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":10563,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/234\/revisions\/10563"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}