Date: Mon, 12 Nov 2001 11:38:44 -0800 From: Kris Kennaway <kris@obsecurity.org> To: freebsd-questions@FreeBSD.ORG Subject: Re: sshd and X11 forwarding? Message-ID: <20011112113844.B28444@xor.obsecurity.org> In-Reply-To: <20011112184052.GD53398@keyslapper.org>; from leblanc%2Bfreebsd@keyslapper.org on Mon, Nov 12, 2001 at 01:40:52PM -0500 References: <20011112184052.GD53398@keyslapper.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, Nov 12, 2001 at 01:40:52PM -0500, Louis LeBlanc wrote: > Hope this isn't too far OT, but I am trying to get X11 forwarding to > work between 2 FreeBSD machines, both running 4.4 RELEASE. > > Both have the following in /etc/ssh/sshd_config: > > StrictModes yes > X11Forwarding yes > X11DisplayOffset 10 > PrintMotd yes > KeepAlive yes > > My understanding of this is that when you execute a prog that requires > an X display, it will forward the windows, transients, etc to the > client box. And the DISPLAY should set to something like <IP>:10.0. a) You need to have DISPLAY set before you run ssh, so ssh knows where to forward the X connection to. b) You need to have ssh enable the negotiation of X Forwarding, not just the remote sshd. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE78CVDWry0BWjoQKURAq/7AJ9YrcemejX53HcPHuu7dZd7jcv9yQCeO4Fl 8yjhf8ZX+qieI9X+ZrUQ6jw= =ZIEf -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112113844.B28444>
