Prerequisite:
CentOS installation desktop, if there is no desktop, please execute
# yum -y groups install "GNOME Desktop"
# startx
configuration source
# yum install epel* -y
install xrdp
# yum --enablerepo=epel -y install xrdp
Start xrdp and set boot to boot
# systemctl start xrdp
# systemctl enable xrdp
Reprinted from: http://blog.csdn.net/wylfengyujiancheng/article/details/67643293