{"id":206,"date":"2018-12-19T20:10:22","date_gmt":"2018-12-19T20:10:22","guid":{"rendered":"https:\/\/unsrewiki.1sys1.com\/?p=206"},"modified":"2018-12-19T20:10:22","modified_gmt":"2018-12-19T20:10:22","slug":"install-xrdp-on-centos-7-rhel-7","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2018\/12\/19\/install-xrdp-on-centos-7-rhel-7\/","title":{"rendered":"Install xrdp on CentOS 7 \/ RHEL 7"},"content":{"rendered":"\n<p>XRDP is an Open Source Remote desktop Protocol server, which allows you to RDP to your Linux server from Windows machine; it is capable of accepting connections from rdesktop, freerdp, and remote desktop clients.<\/p>\n\n\n\n<p>1- First you need to <a href=\"https:\/\/unsrewiki.1sys1.com\/index.php\/2018\/11\/29\/install-gnome-gui-on-linux-servers\/\">Install Gnome GUI on Linux Servers<\/a><\/p>\n\n\n\n<p>2- xrdp is available in EPEL repository<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># rpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm<\/code><\/pre>\n\n\n\n<p>3- Use YUM Command to  install xrdp package on CentOS 7 \/ RHEL 7.<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># yum -y install xrdp tigervnc-server<\/code><\/pre>\n\n\n\n<p>4- Once xrdp is installed, start the xrdp service using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># systemctl start xrdp<\/code><\/pre>\n\n\n\n<p>xrdp should now be listening on 3389. You can confirm this by using <code>netstat<\/code> command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># netstat -tupln | grep 3389\ntcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      83395\/xrdp<\/code><\/pre>\n\n\n\n<p>By default, xrdp service won\u2019t start automatically after a system reboot. Run the following command in the terminal to enable the service at system startup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># systemctl enable xrdp<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Firewall<\/h2>\n\n\n\n<p>Configure the firewall to allow RDP connection from external machines. The following command will add the exception for RDP port (3389).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># firewall-cmd --permanent --add-port=3389\/tcp --zone=public\n# firewall-cmd --reload<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"609\" src=\"https:\/\/unsrewiki.1sys1.com\/wp-content\/uploads\/2018\/12\/VNC.png\" alt=\"\" class=\"wp-image-207\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/VNC.png 984w, https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/VNC-300x186.png 300w, https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/VNC-768x475.png 768w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"525\" src=\"https:\/\/unsrewiki.1sys1.com\/wp-content\/uploads\/2018\/12\/DeskTop-1024x525.png\" alt=\"\" data-id=\"208\" data-link=\"https:\/\/unsrewiki.1sys1.com\/?attachment_id=208#main\" class=\"wp-image-208\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/DeskTop-1024x525.png 1024w, https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/DeskTop-300x154.png 300w, https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/DeskTop-768x394.png 768w, https:\/\/server-help.org\/wp-content\/uploads\/2018\/12\/DeskTop.png 1598w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><\/ul>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>XRDP is an Open Source Remote desktop Protocol server, which allows you to RDP to your Linux server from Windows machine; it is capable of accepting connections from rdesktop, freerdp, and remote desktop clients. 1- First you need to Install Gnome GUI on Linux Servers 2- xrdp is available in EPEL repository 3- Use YUM&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/206"}],"collection":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":1,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/206\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}