配置 X11 Forwarding

  1. Server端安装必要软件包
    yum -y install xauth xclock
  2. Windows客户端下载安装Xming
  3. 配置Putty或Xshell


    putty.jpg

    xshell.jpg
  4. 就可以运行X Client转发到本地了
  5. 如报错,检查 sshd_config
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes

你可能感兴趣的:(配置 X11 Forwarding)