ssh and X11 problem

stan stanb at panix.com
Wed Dec 31 18:02:54 UTC 2008


On Wed, Dec 31, 2008 at 12:58:18PM -0500, Glen Barber wrote:
> On Wed, 2008-12-31 at 12:54 -0500, stan wrote:
> > On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:
> > > On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
> > > > I just built a new 7.1 machine, and when I ssh from a Linux box to it I get
> > > > the following errors:
> > > > 
> > > > usr/local/bin/xauth: (stdin):1:  bad display name "unix:10.0" in "remove"
> > > > command
> > > > /usr/local/bin/xauth: (stdin):2:  bad display name "unix:10.0" in "add"
> > > > command
> > > > 
> > > > And I cannit get ssh to foward the X protocol. Yes I have added 
> > > > 
> > > > ForwardX11 yes to /etc/ssh/ssh_config
> > > > 
> > > > What am I doing wrong?
> > > > 
> > > 
> > > I assume you have xserver on the FreeBSD box?  Check your display name.
> > > I'm pretty sure it's supposed to be 'hostname:0:0'.
> > > 
> > Perhaps I was not clear. Yes I do have the X server running on the FreeBSD
> > machine, but that should not matter, as I am ssh'ing _from_ the Linux box
> > which does have a working X server on it also, and can ssh to other
> > machines  and get X fowarded corectly.
> > 
> 
> You need an xserver to connect *to*, which is why I asked.
> 
On the FreeBSD machine? I may be confused, but I think that on the FreeBSD
machine the "client" tassk (eg xclock) is run, and it is pointed to the
server on the machine that I am connecting _from_. Am I confused?

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.


More information about the freebsd-questions mailing list