From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 18:01:39 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 B934610656C6 for ; Wed, 31 Dec 2008 18:01:39 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq2.gn.mail.iss.as9143.net (smtpq2.gn.mail.iss.as9143.net [212.54.34.165]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0B58FC12 for ; Wed, 31 Dec 2008 18:01:39 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.34.138] (helo=smtp7.gn.mail.iss.as9143.net) by smtpq2.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LI5Nx-00075R-P5; Wed, 31 Dec 2008 19:01:37 +0100 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp7.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LI5Nq-0001zo-0E; Wed, 31 Dec 2008 19:01:30 +0100 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id D8E9539887; Wed, 31 Dec 2008 19:01:27 +0100 (CET) Message-ID: <495BB378.5000004@boosten.org> Date: Wed, 31 Dec 2008 19:01:28 +0100 From: Peter Boosten User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Glen Barber References: <20081231173517.GA22363@teddy.fas.com> <1230745308.28408.2.camel@orion> <20081231175429.GB22662@teddy.fas.com> <1230746298.28408.5.camel@orion> In-Reply-To: <1230746298.28408.5.camel@orion> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1LI5Nq-0001zo-0E X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.913, required 5, BAYES_00 -2.60, SPF_NEUTRAL 0.69) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No 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:01:40 -0000 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. Nope, not true: you can ssh to client without x server (from an X server) and start x clients to display on your local machine. Through the ssh session, your display will be localhost:10:0 Peter -- http://www.boosten.org