From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 07:10:59 2011 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 D73C01065672 for ; Tue, 12 Jul 2011 07:10:59 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 664428FC15 for ; Tue, 12 Jul 2011 07:10:59 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p6C7AtP8095566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 12 Jul 2011 00:10:55 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p6C7AtcP095565; Tue, 12 Jul 2011 00:10:55 -0700 (PDT) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA12611; Tue, 12 Jul 11 00:09:41 PDT Date: Tue, 12 Jul 2011 07:10:10 -0700 From: perryh@pluto.rain.com To: kudzu@tenebras.com, feld@feld.me Message-Id: <4e1c55c2.Mw4JraW9aXj0alCb%perryh@pluto.rain.com> References: <4e1c1f5f.LsZHLb8pZocKlPVV%perryh@pluto.rain.com> <4e1c340e.3E+90Iim2rCaR/tB%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Solved: Re: ssh -X (X11 forwarding) not working from 6.1 to 8.1 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: Tue, 12 Jul 2011 07:10:59 -0000 Mark Felder wrote: > On Tue, 12 Jul 2011 00:06:33 -0500, Michael Sierchio > wrote: > > > xauth not in your path? > > ssh -Y skips all auth stuff so you don't need xauth; he said that > didn't work either :-( Well, apparently, even -Y needs xauth (which was not installed on the 8.1 system) on the ssh server -- although not on the ssh client. After installing it: $ ssh -Y fbsd81 'echo DISPLAY=%$DISPLAY%' /usr/local/bin/xauth: creating new authority file /home/perryh/.Xauthority DISPLAY=%localhost:10.0% and -X also works :) so this turns out to have been the solution. Next question: shouldn't I have gotten some kind of error message when attempting "ssh -X" or "ssh -Y" when xauth wasn't available?