From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Barbour Newsgroups: gmane.emacs.help Subject: emacs and emacsclient on different displays Date: Mon, 26 Oct 2009 21:26:43 -0700 Message-ID: <20091027042643.GA5038@barcore.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256660765 16840 80.91.229.12 (27 Oct 2009 16:26:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2009 16:26:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 17:25:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N2orm-0002zM-Dt for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Oct 2009 17:25:50 +0100 Original-Received: from localhost ([127.0.0.1]:35381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2orl-00039t-Tl for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Oct 2009 12:25:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2de2-0000Wd-2H for help-gnu-emacs@gnu.org; Tue, 27 Oct 2009 00:26:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2de1-0000Vl-09 for help-gnu-emacs@gnu.org; Tue, 27 Oct 2009 00:26:53 -0400 Original-Received: from [199.232.76.173] (port=44856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2de0-0000VZ-R7 for help-gnu-emacs@gnu.org; Tue, 27 Oct 2009 00:26:52 -0400 Original-Received: from qmta08.emeryville.ca.mail.comcast.net ([76.96.30.80]:51549) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2de0-0002RJ-Ci for help-gnu-emacs@gnu.org; Tue, 27 Oct 2009 00:26:52 -0400 Original-Received: from OMTA22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id xg5X1c0371vN32cA8gSmjC; Tue, 27 Oct 2009 04:26:46 +0000 Original-Received: from workhorse.barcore.com ([24.23.181.22]) by OMTA22.emeryville.ca.mail.comcast.net with comcast id xgaC1c0060VPk4g8igaCaz; Tue, 27 Oct 2009 04:34:13 +0000 Original-Received: from jbar by workhorse.barcore.com with local (Exim 4.69) (envelope-from ) id 1N2ddr-0000uq-VM for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 21:26:44 -0700 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Tue, 27 Oct 2009 12:25:24 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69275 Archived-At: Hey Folks, Should I be able to run emacs and emacsclient on different displays? i.e. start emacs on my linux machine in my office, set a server name and start an emacs server. Do work. Then, come home, ssh into the office, and run emacsclient and use the same buffers I was using at work. I'd like all of this to be in X windows, not in a TTY. i.e. host1 % echo DISPLAY localhost:0.0 host1 % emacs... eval: (setq server-name "test1") eval: (start-server) ... host1 % echo $DISPLAY localhost:14.0 host1 % emacsclient -s test1 -c foo Waiting for Emacs...X11 connection rejected because of wrong authentication. *ERROR*: Connection lost to X server `localhost:14.0' However, if I run xterm at that same prompt, it comes up just fine. Can anyone let me know if what I want to do here is possible, and what I might be doing wrong? Thanks Very Much, Jim