Windows远程桌面连接Centos7

首先安装centos7需要安装“Server with GUI”或者GNOME,如果没有,后期需要联网手动安装桌面环境,指令如下:

#yum -y groups install "GNOME Desktop"
#start x

然后配置源:

#yum install  epel* -y

最后安装远程连接服务xrdp:

#yum --enablerepo=epel -y install xrdp

安装完毕后启动xrdp并配置开机自启动:

#systemctl start xrdp
#systemctl enable xrdp

随后便可用Windows自带的远程桌面客户端连接centos7的桌面系统,如果无法连接,可关闭centos7防火墙再试。

你可能感兴趣的:(Windows远程桌面连接Centos7)