From owner-freebsd-stable Thu Jun 29 19:45: 5 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 91B8337B6F1 for ; Thu, 29 Jun 2000 19:44:52 -0700 (PDT) (envelope-from faber@lunabase.org) Received: from praxis.lunabase.org ([63.200.244.110]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FWY0015J4UOW9@mta5.snfc21.pbi.net> for stable@FreeBSD.ORG; Thu, 29 Jun 2000 19:42:24 -0700 (PDT) Received: from praxis.lunabase.org (localhost [127.0.0.1]) by praxis.lunabase.org (8.9.3/8.9.3) with ESMTP id TAA06143 for ; Thu, 29 Jun 2000 19:41:07 -0700 X-URL: http://www.lunabase.org/~faber Date: Thu, 29 Jun 2000 19:41:07 -0700 From: Ted Faber Subject: Re: OpenSSH X11 forwarding fails(!?) - resolved To: stable@FreeBSD.ORG Message-id: <200006300241.TAA06143@praxis.lunabase.org> Organization: My Secret Broadcast Base on the Moon X-Mailer: exmh version 2.1.1 10/15/1999 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----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