From: Jason Sewall <jasonsewall@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Local frame for a remote emacs
Date: Fri, 6 Nov 2009 00:00:55 -0500 [thread overview]
Message-ID: <31e9dd080911052100x6413437cr460334426c25b1dd@mail.gmail.com> (raw)
I posted this to comp.emacs earlier, but it seems pretty quiet there,
so I thought I'd try this list:
I've been trying to get emacs to let me open a local frame to an
already-running emacs for a while now, and I can't seem to make it
work. This is with emacs 23.
I start emacs --daemon on my desktop machine, then on my laptop, I run
ssh -X <desktop> -f emacsclient -c. I get the following response:
"X11 connection rejected because of wrong authentication
*ERROR*: Display localhost:10.0 can't be opened"
I don't claim to be an expert in xauth, but I've never had any trouble
with running ssh -X on these machines.
ssh -X <desktop> -f emacs works fine
ssh <desktop> -f emacsclient -t works fine
ssh -X <desktop> -f emacsclient --eval '"(make-frame-on-display
\"$DISPLAY"\)"' gives the same rejection as emacsclient -c
In terms of X and, what are these commands doing differently? Is the
$DISPLAY that emacs --daemon is started in somehow causing the remote
access to fail?
Any ideas? I've done a bit of Googling and I can't seem to find a good
answer. Any thoughts here?
Jason
next reply other threads:[~2009-11-06 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 5:00 Jason Sewall [this message]
2009-11-06 17:10 ` Local frame for a remote emacs Peter Dyballa
2009-11-06 18:38 ` Jason Sewall
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31e9dd080911052100x6413437cr460334426c25b1dd@mail.gmail.com \
--to=jasonsewall@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.