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: Re: emacs and emacsclient on different displays Date: Fri, 30 Oct 2009 09:12:32 -0700 Message-ID: <20091030161232.GA18370@barcore.com> References: <20091027042643.GA5038@barcore.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1256920903 4732 80.91.229.12 (30 Oct 2009 16:41:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2009 16:41:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: suvayu ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 30 17:41:36 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 1N3uXW-00065Q-Gi for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Oct 2009 17:41:26 +0100 Original-Received: from localhost ([127.0.0.1]:37846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3uXV-0000f7-Rf for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Oct 2009 12:41:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3u5l-0001xL-VE for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 12:12:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3u5i-0001vZ-0z for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 12:12:43 -0400 Original-Received: from [199.232.76.173] (port=39591 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3u5h-0001vT-S1 for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 12:12:41 -0400 Original-Received: from qmta05.emeryville.ca.mail.comcast.net ([76.96.30.48]:44377) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3u5h-0003bO-DM for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 12:12:41 -0400 Original-Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id z1M11c0090x6nqcA54CaES; Fri, 30 Oct 2009 16:12:34 +0000 Original-Received: from workhorse.barcore.com ([24.23.181.22]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id z4CZ1c00F0VPk4g8Y4Caos; Fri, 30 Oct 2009 16:12:34 +0000 Original-Received: from jbar by workhorse.barcore.com with local (Exim 4.69) (envelope-from ) id 1N3u5Y-0004IZ-Jd; Fri, 30 Oct 2009 09:12:32 -0700 Content-Disposition: inline In-Reply-To: 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-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:69357 Archived-At: Hey Suvaya, Could you be more specific which thread you're referring to? The page you provided has a whole lot of them :) Thanks, Jim On Fri, Oct 30, 2009 at 08:47:20AM -0700, suvayu ali wrote: > Hi Jim, > > I think my previous reply didn't go through, if this is a double post, > I apologise. > > 2009/10/26 Jim Barbour : > > 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? > > Look at this message, > http://lists.gnu.org/archive/html/help-gnu-emacs/2009-09/threads.html. > The rest of the thread is also very instructive about how emacsclient > and tramp works. > > GL > -- > Suvayu > > Open source is the future. It sets us free. >