todaygood / linux-lab

everything kb,case about linux
1 stars 0 forks source link

linux server 如何做X11 forward #9

Closed todaygood closed 3 years ago

todaygood commented 5 years ago

参见 https://blog.csdn.net/lantianjialiang/article/details/17299625

server端

  1. sshd_config 设置X11forwarding
  2. 必须安装xauth
todaygood commented 3 years ago

除此之外,sshd_config中还有一个参数: X11UseLocalhost, 自从centos7.7之后默认为yes , 修改为no 之后, X11 Forwarding 就成功工作了。

参见 https://zhuanlan.zhihu.com/p/157479678