- Server端安装必要软件包
yum -y install xauth xclock
- Windows客户端下载安装Xming
-
配置Putty或Xshell
- 就可以运行X Client转发到本地了
- 如报错,检查 sshd_config
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes