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:
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).