首先修改 ssh配置文件
AllowTcpForwarding yes X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no
其次将X11插件补充完整
yum install -y xorg-x11-xauth #安装x11组件包 yum -y install wqy-zenhei-fonts* #安装中文字库
安装Chrome
yum -y install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
ln -s /usr/bin/google-chrome /usr/sbin/chrome
useradd chrome
passwd chrome
##自己设置密码
重启SSH服务 重新连接其他窗口切换到chrome用户,输入chrome回车即可打开chrome