From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 18:02:53 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 6605010656CD for ; Wed, 31 Dec 2008 18:02:53 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 20A098FC1D for ; Wed, 31 Dec 2008 18:02:53 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id C2E0829416; Wed, 31 Dec 2008 13:02:52 -0500 (EST) Received: from teddy.fas.com (c-76-26-198-188.hsd1.sc.comcast.net [76.26.198.188]) by mailbackend.panix.com (Postfix) with ESMTP id 8C4B2D219; Wed, 31 Dec 2008 13:02:52 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LI5PA-00061K-00; Wed, 31 Dec 2008 13:02:52 -0500 Date: Wed, 31 Dec 2008 13:02:52 -0500 From: stan To: Glen Barber Message-ID: <20081231180252.GD22662@teddy.fas.com> Mail-Followup-To: Glen Barber , Free BSD Questions list References: <20081231173517.GA22363@teddy.fas.com> <1230745308.28408.2.camel@orion> <20081231175429.GB22662@teddy.fas.com> <1230746298.28408.5.camel@orion> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1230746298.28408.5.camel@orion> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 12:45:55 up 233 days, 19:08, 1 user, load average: 0.00, 0.01, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: 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:54 -0000 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.