X11 forwarding problems in FreeBSD 6.2 - no xauth data?

Albert Shih Albert.Shih at obspm.fr
Wed Jul 11 23:17:44 UTC 2007


 Le 10/07/2007 à 14:41:01-0700, Pollywog a écrit
> On Sunday 08 July 2007 18:03:49 Pollywog wrote:
> > I am having some problems with X11 forwarding. I can do X11 forwarding via
> > ssh between two machines running Linux, but if I try to do this from
> > FreeBSD (KDE) to either of the Linux machines, it only works if I use
> > startx to start KDE on the fbsd machine (a laptop). If I start KDE from
> > kdm, I get errors that go like this when I start the KDE app on the remote
> > host running Linux: pollywog at slider:~$ kate
> >  Xlib: connection to "localhost:11.0" refused by server
> >  Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> >  kate: cannot connect to X server localhost:11.0
> 
> I just did 'ssh' to one of the Linux hosts and when the connection was made, I 
> got this:
> 
> Warning: No xauth data; using fake authentication data for X11 forwarding.
> 
> Does this possibly have something to do with the problem I mentioned in my 
> initial post in this thread?  I am going to Google that error and see if I 
> can find something.

Check where is the xauth app on the Linux box, and make

	strings sshd|grep xauth

to check if it's the same path.

If don't you need to fix this with 

	XAuthLocation

in your sshd_config file on the Linux box

Regards.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Jeu 12 jul 2007 01:14:53 CEST


More information about the freebsd-questions mailing list