x11-forward介绍:https://www.cnblogs.com/zqb-all/p/10327444.html
Centos7 使用ssh进行x11图形界面转发:
https://blog.csdn.net/weixin_43226231/article/details/103828630
配置过程遇到的问题:
1、使用 Xshell 6 首次连接虚拟机 CentOS 7.6 出现这样的提示:
/usr/bin/xauth: file /root/.Xauthority does not exist
解决:只需要退出再次登录即可,系统会自动创建。