X11 forwarding problems in FreeBSD 6.2

Norbert Papke fbsd-ml at scrapper.ca
Mon Jul 9 05:27:14 UTC 2007


On July 8, 2007, 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

On your FreeBSD machine, try issuing

   % xhost +local:

before you ssh to the Linux machines.

Cheers.


More information about the freebsd-questions mailing list