X11 forwarding request failed on channel 0解决方案

为什么80%的码农都做不了架构师?>>>   hot3.png

纯粹转载记录一下解决方案。原文: http://ask.xmodulo.com/fix-broken-x11-forwarding-ssh.html

简述一下两种解决方案:

  • 修改/etc/ssh/sshd_config,增加X11UseLocalhost no
  • 修改/etc/ssh/sshd_config,增加AddressFamily inet

之后重启ssh服务即可

转载于:https://my.oschina.net/abcfy2/blog/393522

你可能感兴趣的:(X11 forwarding request failed on channel 0解决方案)