ssh X11 forwarding won't work

前端 未结 5 1960
礼貌的吻别
礼貌的吻别 2020-12-29 09:47

I have been trying to get X11 port forwarding to work from my laptop. I can\'t figure out why it won\'t work.

I get this message when I try to run xterm:

         


        
5条回答
  •  梦谈多话
    2020-12-29 10:09

    I bumped into this, too. But in my case it was because I removed IPv6 support some days ago. I then bumped into this thread explaining how to make sure sshd uses IPv4 only.

    This is how I did it, add this:

    AddressFamily inet
    

    to your ssh_config-file (on Ubuntu /etc/ssh/sshd_config) and make sshd reload its configuration (kill -SIGHUP pid-of-sshd).

提交回复
热议问题