1.保证Linux是有桌面界面的版本
2.安装xrdp,xrdp在EPEL仓库可以使用,所以配置EPEL仓库:sudo rpm-Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
3.安装插件:sudo-y yum install xrdp,
4.安装插件:sudo yum-y install tigervnc-server
5.启动服务:/bin/systemctl start xrdp.service
1[hadoop master~]$/bin/systemctl start xrdp.service
2====AUTHENTICATING FOR org.freedesktop.systemd1.manage-units===
3 Authentication is required to manage system services or units.
4 Authenticating as:root
5 Password:
6====AUTHENTICATION COMPLETE===
7[hadoop master~]$
Windows端:
1.打开远程桌面工具:
2.输入LinuxIP地址,阅读警告后点“是”
3.输入Linux用户名和密码
4.完美远程登录桌面。