Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2000 19:41:07 -0700
From:      Ted Faber <faber@lunabase.org>
To:        stable@FreeBSD.ORG
Subject:   Re: OpenSSH X11 forwarding fails(!?) - resolved
Message-ID:  <200006300241.TAA06143@praxis.lunabase.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii


I've (finally) run this down.  It is not an OpenSSH bug, nor a direct
OpenSSH configuration error.  The short answer is that you cannot
reset the XAUTHORITY environment variable under OpenSSH and get X11
forwarding.  Under the ssh-1.2.27 port it doesn't interfere.

Why?  OpenSSH creates its own authorization information and sets
XAUTHORITY to point to it.  My .bashrc was resetting it (a relic from
some system where XAUTHORITY was not initialized) and causing a
conflict.

Just so it's in the mail archive where it might help someone: when you
move to OpenSSH from ssh-1.2.27, check to make sure your environment
doesn't reset XAUTHORITY.

Thanks to the people who made suggestions.





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (FreeBSD)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQE5XAjDaUz3f+Zf+XsRApL5AKDB+1Fp/YG4so5eN+2rfyzoOkovcgCg6G6J
qvjGCqmjWA/Ymk3u3LhDDhU=
=EXhD
-----END PGP SIGNATURE-----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006300241.TAA06143>