From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 21:55:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D1A216A418 for ; Thu, 26 Jul 2007 21:55:54 +0000 (UTC) (envelope-from tlt@tltodd.com) Received: from tltodd.com (tltodd.com [64.80.250.209]) by mx1.freebsd.org (Postfix) with ESMTP id E4C6013C469 for ; Thu, 26 Jul 2007 21:55:52 +0000 (UTC) (envelope-from tlt@tltodd.com) Received: (from tlt@localhost) by tltodd.com (8.9.3/8.9.3) id QAA34001 for freebsd-questions@freebsd.org; Thu, 26 Jul 2007 16:55:06 -0500 (CDT) (envelope-from tlt) Date: Thu, 26 Jul 2007 16:55:06 -0500 From: Terry Todd To: freebsd-questions@freebsd.org Message-ID: <20070726165506.A33820@badger.tltodd.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20070726160738.A31278@badger.tltodd.com>; from tlt@badger.tltodd.com on Thu, Jul 26, 2007 at 04:07:38PM -0500 Subject: Re: ssh X11 forwarding not working on FreeBSD 6.2 (SOLVED) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 21:55:54 -0000 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