all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs and emacsclient on different displays
@ 2009-10-27  4:26 Jim Barbour
  2009-10-30 15:20 ` Suvayu Ali
  2009-10-30 15:47 ` suvayu ali
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Barbour @ 2009-10-27  4:26 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.9563.1256660726.2239.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2009-10-30 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.