Date: Tue, 12 Jul 2011 07:10:10 -0700 From: perryh@pluto.rain.com To: kudzu@tenebras.com, feld@feld.me Cc: freebsd-questions@freebsd.org Subject: Solved: Re: ssh -X (X11 forwarding) not working from 6.1 to 8.1 Message-ID: <4e1c55c2.Mw4JraW9aXj0alCb%perryh@pluto.rain.com> In-Reply-To: <op.vyhpu7ax34t2sn@skeletor.feld.me> References: <4e1c1f5f.LsZHLb8pZocKlPVV%perryh@pluto.rain.com> <op.vyhl58qs34t2sn@skeletor.feld.me> <4e1c340e.3E%2B90Iim2rCaR/tB%perryh@pluto.rain.com> <CAHu1Y72Ui=VaGwTPfFYMqX618DFhYEN%2B76fe0D7w=Tazqz8dWA@mail.gmail.com> <op.vyhpu7ax34t2sn@skeletor.feld.me>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Felder <feld@feld.me> wrote: > On Tue, 12 Jul 2011 00:06:33 -0500, Michael Sierchio <kudzu@tenebras.com> > 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e1c55c2.Mw4JraW9aXj0alCb%perryh>