1 Installation XRDP
(Please check your system's number of digits, command line input arch, if it is 32-bit use then choose I386, if it is 64 bits, please select X86_64,epel package name will be the corresponding change, the way to find is to mirror the site http://mirrors.ustc.edu.cn/ Enter the corresponding directory on the FEDORA/EPEL/7, and find the RPM package that begins with Epel-release.
# wget http://mirrors.ustc.edu.cn/fedora/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
# RPM-UVH epel-release-7-7.noarch.rpm
# yum Install XRDP
2 installation Tigervnc
# yum Install Tigervnc Tigervnc-server
3 Set VNC password for user
# VNCPASSWD root//set VNC password for root user, if need other user VNC login,
//can set password for it passwd user
4 Configure Xrdp.ini files, or remote connections may not succeed
# Vim/etc/xrdp/xrdp.ini
max_bpp=32, change to max_bpp=24
5 Configure SELinux, or you may not be able to start the XRDP service, or start an error
Chcon-t bin_t/usr/sbin/xrdp
chcon-t Bin_t/usr/sbin/xrdp-sesman
6 Start the XRDP service and set it to boot
# Systemctl start xrdp
# Systemctl Enable XRDP
7 See if the XRDP service starts properly
# SYSTEMCTL Status Xrdp.service//If you see active then show normal
# Netstat-antup|grep xrdp/See if XRDP and Xrdp-sesman start normally
8 Shut down the firewall, or open the firewall 3389 port
# Systemctl Stop firewalld.service
# systemctl disable Firewalld.servie
or open 3389 ports
# Firewall-cmd--permanent--zone=public--add-port=3389/tcp
# Firewall-cmd--reload