Grant wrote:
X-forwarding used to work for me but I haven't used it in a while and now I get:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
Xlib: connection to "localhost:10.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Cannot open display:
I have:
# cat /etc/ssh/sshd_config | grep X11Forwarding
X11Forwarding yes
Does anyone know how to fix this?
First, ssh to the box without X forwarding and:
rm ~/.Xauthority
rm ~/.ICEauthority
logout
Then try to ssh again with X forwarding enabled. It should work.