安装XRDP服务
[root@testpc ~]# yum install epel-release
[root@testpc ~]# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
[root@testpc ~]# yum install xrdp tigervnc-server
[root@testpc ~]# systemctl start xrdp.service
[root@testpc ~]# systemctl enable xrdp.service
防火墙开启3389端口
[root@testpc ~]# firewall-cmd --permanent --zone=public --add-port=3389/tcp
[root@testpc ~]# firewall-cmd --reload
安装GNOME桌面(当CentOS是最小化安装时)
[root@testpc ~]# yum groupinstall "GNOME Desktop"