[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs and emacsclient on different displays
From: |
Jim Barbour |
Subject: |
emacs and emacsclient on different displays |
Date: |
Mon, 26 Oct 2009 21:26:43 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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
- emacs and emacsclient on different displays,
Jim Barbour <=