First of all you need to install GNOME, here is not introduced
Installation:
1. Preparation Environment:
First install Epel and Nux desktoprepository RPMs, note version update (if the RPM package version is no longer present, copy the front of the link down in the browser, query the latest version, and then replace it):
# RPM-UVH https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# RPM-UVH http:// li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
2. Start installation XRDP, Tigervnc-server:
# yum-y Install XRDP Tigervnc-server
3. Confirm your XRDP installation successfully, start XRDP:
# Systemctl Start Xrdp.service
4. Check if XRDP is successful and XRDP listens on 3389 ports:
Netstat-antup | grep XRDP
5. If the discovery does not succeed, please check/var/log/message, if you find a similar "Failed at step EXEC spawning/usr/sbin/xrdp-sesman:permission denied", please perform the following command Make:
Chcon-t Bin_t/usr/sbin/xrdp/usr/sbin/xrdp-sesman
6. Perform the following steps to allow XRDP to run automatically the next time the system starts:
# Systemctl Enable Xrdp.service
7. Open the firewall corresponding port, can also directly turn off the firewall
# firewall-cmd--permanent--zone=public--add-port=3389/tcp
# firewall-cmd--reload