How to Enable XRDP On RHEL 7.4 Desktop

XRDP is the counterpart of RDP in the Linux world. RDP(Remote Desktop protocol) allows you to use the GUI rich environment of another computer.

In this tutorial I discussed how to enable XRDP on RHEL.




Below are the Steps to configure XRDP.

Step no.#1. Enable EPEL repository

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Step no. #2.  add nux repository

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

Step no #3. Install Xrdp and tiger vnc

yum -y install xrdp tigervnc-server

Step no #4.  Start the service

service xrdp start

Step no #5.  Check if the service is running

netstat -antup | grep xrdp

Step no #5.  Enable the service at runtime

chkconfig xrdp on
chkconfig vncserver on
or systemctl enable xrdp.service

Step no. #6  Open the firewall

firewall-cmd –permanent –zone=public –add-port=3389/tcp
firewall-cmd –reload

Step no. #7  Configure Selinux to allow xrdp

chcon –type=bin_t /usr/sbin/xrdp
chcon –type=bin_t /usr/sbin/xrdp-sesman




Leave a Reply

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