1. Install EPEL repository
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2. Install nux repository
# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
3. Install xdrp & tigervnc
# yum -y install xrdp tigervnc-server
4. Start xrdp service
# systemctl start xrdp.service
5. Open firewall port
# firewall-cmd --permanent --zone=public --add-port=3389/tcp
# firewall-cmd --reload
6. Configure SELinux & re-enable and start xrdp
# chcon --type=bin_t /usr/sbin/xrdp
# chcon --type=bin_t /usr/sbin/xrdp-sesman
# systemctl reenable xrdp.service
# systemctl start xrdp.service
|