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
--8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Both have the following in /etc/ssh/sshd_config: >=20 > StrictModes yes > X11Forwarding yes > X11DisplayOffset 10 > PrintMotd yes > KeepAlive yes >=20 > 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 --8P1HSweYDcXXzwPJ Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --8P1HSweYDcXXzwPJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112113844.B28444>