前提:CentOS安装桌面,如果无桌面,请执行# yum -y groups install "GNOME Desktop"# startx配置源# yum install epel* -y安装xrdp# yum --enablerepo=epel -y install xrdp启动xrdp并设置开机启动# systemctl start xrdp# systemctl enable xrdp