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

Step no. #2.  add nux repository

rpm -Uvh

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 *