From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: CVS trunk emacsclient: X11 connection rejected Date: Mon, 29 Oct 2007 16:25:27 -0400 Message-ID: <5sbqahbrd4.fsf@fencepost.gnu.org> References: <4ky7dpbd3x.fsf@fencepost.gnu.org> <6br6jhfcz0.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193689556 28945 80.91.229.12 (29 Oct 2007 20:25:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 20:25:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 21:25:58 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImbB9-0000Yf-HC for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 21:25:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImbB0-0007Dm-5D for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 16:25:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImbAx-0007DB-KG for emacs-devel@gnu.org; Mon, 29 Oct 2007 16:25:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImbAu-00079r-Up for emacs-devel@gnu.org; Mon, 29 Oct 2007 16:25:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImbAu-00079M-OA for emacs-devel@gnu.org; Mon, 29 Oct 2007 16:25:28 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImbAu-0002A3-CN for emacs-devel@gnu.org; Mon, 29 Oct 2007 16:25:28 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ImbAt-0000ON-TA; Mon, 29 Oct 2007 16:25:27 -0400 X-Spook: Mole high security domestic disruption ANC Bellcore South X-Ran: u6,pw[O=My-\zjbC?O%7%WTZH_?6&R3BO|3R(k}]zzZT3H|w\"*(]m:"jP.'-e:WSf.naF X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82095 Archived-At: Stefan Monnier wrote: > If you do > > host1> XAUTHORITY= xterm > > is an xterm created? Yes. > What does `xhost' say? access control enabled, only authorized clients can connect SI:localuser:gmorris > host1> ssh host2 > host2> ssh host1 'echo $DISPLAY' # localhost:10.0 > host2> emacs -Q --eval '(make-frame-on-display "localhost:10.0")' >> then it works. > > Huh? Really? How can it? `localhost:10.0' proxy display should be > created by the `ssh host1' and destroyed as soon as `ssh host1' > terminates. Maybe it's a side effect of the connection sharing > feature of "recent" OpenSSH? I don't know. I freely admit it's possible I'm getting confused by all this ssh'ing... The environment from which Emacs is launched above also has DISPLAY = localhost:10.0.