unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* CVS trunk emacsclient: X11 connection rejected
@ 2007-10-26  0:57 Glenn Morris
  2007-10-26  5:24 ` Stefan Monnier
  2007-10-26  5:41 ` Jan Djärv
  0 siblings, 2 replies; 17+ messages in thread
From: Glenn Morris @ 2007-10-26  0:57 UTC (permalink / raw)
  To: emacs-devel


With Emacs 22, and two GNU/Linux hosts with a common (NFS)
file-system, I can do this:

From an X-session running on host1:

host1> emacs -Q -f server-start &
host1> ssh host2
host2> ssh host1 emacsclient --no-wait $PWD/README

which visits the README file in the Emacs running on host1. I often
find this convenient, because I often ssh between various machines and
want to have a single Emacs instance. (The "emacsclient" part is
hidden inside an "emacs" wrapper script that Does The Right Thing
according to the situation.)

If I try the same thing with the CVS trunk, then I get the following
error when trying to run emacsclient:

  X11 connection rejected because of wrong authentication.
  *ERROR*: Connection lost to X server `localhost:10.0'

Is this a multi-tty side-effect, and is there any way around this? Or
should I be doing this a different way now?

(A common file-system is not necessary to see this, you can call
emacsclient to edit eg /tmp/foo.)

TIA.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2007-10-30  2:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26  0:57 CVS trunk emacsclient: X11 connection rejected Glenn Morris
2007-10-26  5:24 ` Stefan Monnier
2007-10-27  0:44   ` Glenn Morris
2007-10-27  2:16     ` Stefan Monnier
2007-10-27  2:43       ` Glenn Morris
2007-10-27  3:04         ` Stefan Monnier
2007-10-27  3:33           ` Glenn Morris
2007-10-27 19:51             ` Stefan Monnier
2007-10-29 17:57               ` Glenn Morris
2007-10-29 18:02                 ` Glenn Morris
2007-10-29 19:16                 ` Stefan Monnier
2007-10-29 20:25                   ` Glenn Morris
2007-10-29 21:01               ` Stefan Monnier
2007-10-29 22:03                 ` Glenn Morris
2007-10-30  2:01                   ` Stefan Monnier
2007-10-26  5:41 ` Jan Djärv
2007-10-27  0:47   ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).