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: Fri, 26 Oct 2007 23:33:39 -0400 Message-ID: <6br6jhfcz0.fsf@fencepost.gnu.org> References: <4ky7dpbd3x.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 1193456035 3168 80.91.229.12 (27 Oct 2007 03:33:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2007 03:33:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 27 05:33:57 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 1IlcQs-0006ZT-SZ for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2007 05:33:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlcQj-00034w-U5 for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2007 23:33:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlcQg-00034h-Ea for emacs-devel@gnu.org; Fri, 26 Oct 2007 23:33:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlcQe-00034V-20 for emacs-devel@gnu.org; Fri, 26 Oct 2007 23:33:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlcQd-00034S-Sh for emacs-devel@gnu.org; Fri, 26 Oct 2007 23:33:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlcQd-0008Cf-Lq for emacs-devel@gnu.org; Fri, 26 Oct 2007 23:33:39 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IlcQd-0003Ox-4p; Fri, 26 Oct 2007 23:33:39 -0400 X-Spook: supercomputer MP5K-SD Waco, Texas Rand Corporation X-Ran: X"K?aXSqZt@Br)IZeyj?$g[XC7NzwET/}jLBl)%qL*DX0T!q\p]a X-Hue: blue X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Fri, 26 Oct 2007 23:04:51 -0400") 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:81823 Archived-At: Stefan Monnier wrote: > So the `emacs' server was run with XAUTHORITY=/tmp/.gdmES6K0T which > only contains keys to contact ":0.0", where the pseudo-display setup > by ssh on localhost:10 uses its own key, stored in ~/.Xauthority. So > the problem is that the `emacs' server can't find the appropriate > key because it's not looking at the right file. I did try a test with an unset XAUTHORITY: host1> XAUTHORITY= emacs -Q -f server-start & host1> ssh host2 host2> ssh host1 emacsclient --no-wait $PWD/README and it didn't seem to help. Maybe I should have been setting it to ~/.Xauthority. I can't test this again till Monday now.