Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2007 16:55:06 -0500
From:      Terry Todd <tlt@badger.tltodd.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssh X11 forwarding not working on FreeBSD 6.2 (SOLVED)
Message-ID:  <20070726165506.A33820@badger.tltodd.com>
In-Reply-To: <20070726160738.A31278@badger.tltodd.com>; from tlt@badger.tltodd.com on Thu, Jul 26, 2007 at 04:07:38PM -0500
References:  <20070724105922.A29729@badger.tltodd.com> <1185295685.2034.4.camel@yak.mseubanks.net> <20070724122340.A32857@badger.tltodd.com> <1185299662.2034.9.camel@yak.mseubanks.net> <20070724132925.A36540@badger.tltodd.com> <1185347784.8728.27.camel@yak.mseubanks.net> <20070725090135.A71422@badger.tltodd.com> <20070725094930.B71422@badger.tltodd.com> <1185420948.1603.14.camel@yak.mseubanks.net> <20070726160738.A31278@badger.tltodd.com>

next in thread | previous in thread | raw e-mail | index | archive | help

The cause of this problem, 

$ xhost
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
xhost:  unable to open display "localhost:10.0"

was that the hostname on the FreeBSD system was blank.  Once I set
the hostname it works fine.  In fact you don't even need to turn
on any of the options in the sshd_config or ssh_config files.

Who woulda thunk it.  I figured it out by trying it on 2 other
FreeBSD systems that did work and comparing how they worked to the
one that didn't.

Try it on your systems and I'll bet you see the same thing.

Terry Todd





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