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: CVS trunk emacsclient: X11 connection rejected Date: Thu, 25 Oct 2007 20:57:27 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193360429 9646 80.91.229.12 (26 Oct 2007 01:00:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2007 01:00:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 03:00:29 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 1IlDYr-0002Y1-Im for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2007 03:00:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlDYi-0008O1-Mu for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2007 21:00:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlDVy-0005gC-1L for emacs-devel@gnu.org; Thu, 25 Oct 2007 20:57:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlDVw-0005ec-DW for emacs-devel@gnu.org; Thu, 25 Oct 2007 20:57:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlDVw-0005e8-2V for emacs-devel@gnu.org; Thu, 25 Oct 2007 20:57: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 1IlDVv-0005Uk-Vw for emacs-devel@gnu.org; Thu, 25 Oct 2007 20:57:28 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IlDVv-00022x-GX; Thu, 25 Oct 2007 20:57:27 -0400 X-Spook: munitions FIPS140 security electronic surveillance X-Ran: #uv2{-,;73bnH!cBe2*kvh_X0,Y_?>vhv;?(~:tU]v]97~6ka/.8'lD!%9O^(tEKg)p%rr X-Hue: red 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:81731 Archived-At: With Emacs 22, and two GNU/Linux hosts with a common (NFS) file-system, I can do this: >From an X-session running on host1: host1> emacs -Q -f server-start & host1> ssh host2 host2> ssh host1 emacsclient --no-wait $PWD/README which visits the README file in the Emacs running on host1. I often find this convenient, because I often ssh between various machines and want to have a single Emacs instance. (The "emacsclient" part is hidden inside an "emacs" wrapper script that Does The Right Thing according to the situation.) If I try the same thing with the CVS trunk, then I get the following error when trying to run emacsclient: X11 connection rejected because of wrong authentication. *ERROR*: Connection lost to X server `localhost:10.0' Is this a multi-tty side-effect, and is there any way around this? Or should I be doing this a different way now? (A common file-system is not necessary to see this, you can call emacsclient to edit eg /tmp/foo.) TIA.