From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: emacs and emacsclient on different displays Date: Fri, 30 Oct 2009 08:47:20 -0700 Message-ID: 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: quoted-printable X-Trace: ger.gmane.org 1256917735 25255 80.91.229.12 (30 Oct 2009 15:48:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2009 15:48:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jim Barbour Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 30 16:48:48 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 1N3tiC-0003mE-Bf for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Oct 2009 16:48:24 +0100 Original-Received: from localhost ([127.0.0.1]:37457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3tiB-0002ID-Qt for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Oct 2009 11:48:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3thc-0002Hp-5F for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 11:47:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3thX-0002H0-Pl for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 11:47:47 -0400 Original-Received: from [199.232.76.173] (port=50665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3thX-0002Gu-En for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 11:47:43 -0400 Original-Received: from mail-vw0-f176.google.com ([209.85.212.176]:55084) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3thW-0007oG-PJ for help-gnu-emacs@gnu.org; Fri, 30 Oct 2009 11:47:42 -0400 Original-Received: by vws6 with SMTP id 6so640788vws.14 for ; Fri, 30 Oct 2009 08:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=dyX2jhUt0KyV51HJsqLC13qSp0MynR7xKF+T8rJDEIM=; b=phLLakR6oNaqYHVK+hoCAPxmif7J9pukNouMGTz8s9tbFwfUV2nSIvq1rVF2N4Z0F8 JdgdTQUu+wLZgMCd/emjbHJ5o2Sn1BGpi4//+H3LyLxRgHFwPbTlhgDvxSClFkGQmNGK ehHqtHJSPN7KrvvNfYOVGDr7uaQB04qfFOdJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=vTHDC+jXVAA2JpCAmqnPkfQcfb4AXjsPo0+xCpGeAbMTWkTa8ygsmLqFtezcrNW1Oi NTZqFXK+4nSQwjCWlyKvX8dJey6zPwPY16/+atbuVsorzo8pD3ZJqQDTuGiFBcZi1BEJ WBbgGk/2wkU64B6VvyrPxq2vv2HIs+s3EtMO0= Original-Received: by 10.220.89.221 with SMTP id f29mr1313115vcm.61.1256917661166; Fri, 30 Oct 2009 08:47:41 -0700 (PDT) In-Reply-To: <20091027042643.GA5038@barcore.com> X-Google-Sender-Auth: 71a5930d53eba359 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69356 Archived-At: 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. =A0Do work. =A0Then, come home, ssh into the > office, and run emacsclient and use the same buffers I was using at > work. =A0 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 authenticati= on. > *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 --=20 Suvayu Open source is the future. It sets us free.