From: Jim Barbour <jbar@barcore.com>
To: help-gnu-emacs@gnu.org
Subject: emacs and emacsclient on different displays
Date: Mon, 26 Oct 2009 21:26:43 -0700 [thread overview]
Message-ID: <20091027042643.GA5038@barcore.com> (raw)
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?
Thanks Very Much,
Jim
next reply other threads:[~2009-10-27 4:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 4:26 Jim Barbour [this message]
2009-10-30 15:20 ` emacs and emacsclient on different displays Suvayu Ali
2009-10-30 15:47 ` suvayu ali
2009-10-30 16:12 ` Jim Barbour
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=20091027042643.GA5038@barcore.com \
--to=jbar@barcore.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).