From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 18:21:59 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 8D68B106564A for ; Wed, 31 Dec 2008 18:21:59 +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 1DFA78FC12 for ; Wed, 31 Dec 2008 18:21:58 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.34.133] (helo=smtp2.gn.mail.iss.as9143.net) by smtpq2.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LI5he-00070P-0X; Wed, 31 Dec 2008 19:21:58 +0100 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp2.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LI5hc-0002pV-Q3; Wed, 31 Dec 2008 19:21:56 +0100 Received: from [192.168.13.81] (iPod.egypt.nl [192.168.13.81]) by ra.egypt.nl (Postfix) with ESMTP id 008A739840; Wed, 31 Dec 2008 19:21:55 +0100 (CET) References: <20081231173517.GA22363@teddy.fas.com> <1230745308.28408.2.camel@orion> <20081231175429.GB22662@teddy.fas.com> <1230746298.28408.5.camel@orion> <495BB378.5000004@boosten.org> Message-Id: From: Peter Boosten To: Peter Boosten In-Reply-To: <495BB378.5000004@boosten.org> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPod Mail (5G77) Mime-Version: 1.0 (iPod Mail 5G77) Date: Wed, 31 Dec 2008 19:24:02 +0100 X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1LI5hc-0002pV-Q3 X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.054, required 5, BAYES_20 -0.74, SPF_NEUTRAL 0.69) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: stan , Glen Barber , 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:21:59 -0000 On 31 dec 2008, at 19:01, Peter Boosten wrote: > > > 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 > > After re-reading Glens remark he's actually right: the client connects * to* the server, however the confusion starts when connecting to the client with ssh. Peter