From owner-freebsd-questions Mon Mar 18 23: 8:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-239.dsl.lsan03.pacbell.net [64.165.226.239]) by hub.freebsd.org (Postfix) with ESMTP id E0AFC37B402 for ; Mon, 18 Mar 2002 23:08:54 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E3F3066C39; Mon, 18 Mar 2002 23:08:53 -0800 (PST) Date: Mon, 18 Mar 2002 23:08:53 -0800 From: Kris Kennaway To: pg@eth1.com Cc: freebsd-questions@freebsd.org Subject: Re: ssh -X forwarding fails Message-ID: <20020318230853.A83083@xor.obsecurity.org> References: <20020318002107.41822.qmail@web9708.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020318002107.41822.qmail@web9708.mail.yahoo.com>; from kjerstes@yahoo.com on Sun, Mar 17, 2002 at 04:21:07PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 17, 2002 at 04:21:07PM -0800, Peter Gatsoulis wrote: > also doing "env" shows me that there IS NO "DISPLAY" > variable present in either the remote or local > machines. >=20 > I suspect this is the problem??? Yep. You have to set DISPLAY to the correct value before ssh'ing, otherwise ssh has no idea which display you want X traffic forwarded to. It should usually be something like ":0.0" to indicate the primary local display, but it doesn't always have to be. Kris --8t9RHnE3ZwKMSgU+ 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 iD8DBQE8luQFWry0BWjoQKURApRZAJ9ADISw5gdmoUTU305ryPTHWKnduACgieqE NbUZokAoXL0qtl8LR4lTbZs= =nz5V -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message