前提:

CentOS安装桌面,如果无桌面,请执行 有桌面则忽略此步骤 ,直接跳到第二步

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(1)

1、# yum -y groups install "GNOME Desktop" 安装GNOME 桌面

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(2)

# startx 启动桌面

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(3)

启动桌面

配置源

2、# yum -y install epel* 安装epel源

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(4)

安装xrdp

3、# yum --enablerepo=epel -y install xrdp

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(5)

启动xrdp并设置开机启动/

4、# systemctl start xrdp

# systemctl enable xrdp

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(6)

验证环节:

windows 下ctrl r键入mstsc 打开远程桌面连接

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(7)

mstsc

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(8)

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(9)

通过windows远程桌面3389连接CentOS系统桌面版(通过windows远程桌面3389连接CentOS系统桌面版)(10)

测试成功 这样可以不用装任何工具,即可用windows自带的远程桌面连接工具来远程管理Linux桌面版。

,