Date: Fri, 27 Apr 2007 11:34:35 +0200 From: "Warren Head" <warrenhead@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: remote x forwarding through ssh Message-ID: <51e113440704270234p640c01a1k57b502537bea4354@mail.gmail.com> In-Reply-To: <441wi6lx90.fsf@be-well.ilk.org> References: <462FAD5A.4090400@gmail.com> <441wi6lx90.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2007/4/26, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>: > > WarrenHead <warrenhead@gmail.com> writes: > > > Hi list, > > > > I'm trying to use ssh to forward X from a local FreeBSD server to my > > ubuntu machine. > > I'm unable to get X forwarded. (ssh is working) > > > > I set these options: > > ubuntu: > > /etc/ssh/ssh_config > > Host * > > ForwardX11 yes > > ForwardAgent yes > > > > FreeBSD > > /etc/ssh/sshd_config > > X11Forwarding yes > > X11DisplayOffset 10 > > X11UseLocalhost yes > > UseLogin no > > > > I didn't set the $DISPLAY variable, on purpose. > > > > After I log into the server and start xterm (for instance) I get this > > message: DISPLAY is not set. > > SSH should do that for me but I guess it doesn't. > > I don't know why. > > > > I logged into FreeBSD with these commands: > > ssh -v freebsd > > ssh -v -X freebsd > > ssh -v -X -A freebsd > > Did the (verbose) output from those commands mention X11? > > > What could be the cause? Client or server? > > My guess would be server, although Ubuntu could always be doing > something weird. > Hi list, I managed to get a few different machines under my hands and it seems it is my Ubuntu machine which refuses to 'find' the $DISPLAY variable. Of course I don't have a clue as to why, but I'm going to take that to the ubuntu lists Thanks for your time! Cheers, Warren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51e113440704270234p640c01a1k57b502537bea4354>