Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2007 22:27:11 -0700
From:      Norbert Papke <fbsd-ml@scrapper.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: X11 forwarding problems in FreeBSD 6.2
Message-ID:  <200707082227.11422.fbsd-ml@scrapper.ca>
In-Reply-To: <200707090103.49950.lists-fbsd@shadypond.com>
References:  <200707090103.49950.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707082227.11422.fbsd-ml>