unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jim Barbour <jbar@barcore.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs and emacsclient on different displays
Date: Fri, 30 Oct 2009 09:12:32 -0700	[thread overview]
Message-ID: <20091030161232.GA18370@barcore.com> (raw)
In-Reply-To: <fe3123490910300847n1008133bnd542cc0c916237e2@mail.gmail.com>

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 <jbar@barcore.com>:
> > 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)
> > ...
> >
> > <later>
> >
> > 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.
> 




  reply	other threads:[~2009-10-30 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27  4:26 emacs and emacsclient on different displays Jim Barbour
2009-10-30 15:20 ` Suvayu Ali
2009-10-30 15:47 ` suvayu ali
2009-10-30 16:12   ` Jim Barbour [this message]
2009-10-30 17:40     ` Suvayu Ali
     [not found] <mailman.9563.1256660726.2239.help-gnu-emacs@gnu.org>
2009-10-30  6:07 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091030161232.GA18370@barcore.com \
    --to=jbar@barcore.com \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).