From owner-freebsd-stable Mon Aug 19 11: 3:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 387E137B400 for ; Mon, 19 Aug 2002 11:03:06 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1573643E3B for ; Mon, 19 Aug 2002 11:03:05 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id g7JI33TJ021767; Mon, 19 Aug 2002 22:03:03 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 19 Aug 2002 22:03:03 +0400 (MSD) From: Dmitry Morozovsky To: Thierry Herbelot Cc: John Polstra , Subject: Re: OpenSSH_3.4p1 sshd does not set XAUTHORITY In-Reply-To: <200208191943.31694.thierry@herbelot.com> Message-ID: <20020819220103.U1495-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 19 Aug 2002, Thierry Herbelot wrote: TH> after searching in some mailing lists, I've found that adding : TH> TH> setenv XAUTHORITY ~/.Xauthority TH> TH> to the .login file on the machine I'm logging in has solved this problem TH> TH> I hope this has no bad implication on security. I suppose a bit of logic examining $DISPLAY content (more specifically, non-empty part before ':' of it) and setting XAUTHORITY conditionally would be better. [snip] Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message