From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 18:02:41 2008 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 A969A106568F for ; Wed, 31 Dec 2008 18:02:41 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9EF8FC0C for ; Wed, 31 Dec 2008 18:02:41 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 2180 invoked from network); 31 Dec 2008 18:02:40 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Dec 2008 18:02:40 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 3754550820; Wed, 31 Dec 2008 13:02:36 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id B503B1D1AF; Wed, 31 Dec 2008 13:02:36 -0500 (EST) To: Glen Barber References: <20081231173517.GA22363@teddy.fas.com> <1230745308.28408.2.camel@orion> <20081231175429.GB22662@teddy.fas.com> <1230746298.28408.5.camel@orion> From: Lowell Gilbert Date: Wed, 31 Dec 2008 13:02:36 -0500 In-Reply-To: <1230746298.28408.5.camel@orion> (Glen Barber's message of "Wed\, 31 Dec 2008 12\:58\:18 -0500") Message-ID: <44sko4ql37.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stan , Free BSD Questions list Subject: Re: ssh and X11 problem 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: Wed, 31 Dec 2008 18:02:42 -0000 Glen Barber writes: > 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. No, Stan is right; an X server is only needed on the machine that actually hosts the display. The xauth error message are indicating the problem, but I don't know what they're telling us. The hostname should probably be "localhost", and sshd_config is set up to do that by default. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/