2009/4/30 Grant <emailgr...@gmail.com>

> >> 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.
>
> Unfortunately I still get the same error.  I'll try to put together an
> xauth command, but does anyone know what happened here?  Usually you
> just enable X11Forwarding and you can use it right?
>
> - Grant
>
>
You also need ForwardX11 yes in your client configuration. Try ssh -v to get
more output.

Reply via email to