help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs and emacsclient on different displays


From: Suvayu Ali
Subject: Re: emacs and emacsclient on different displays
Date: Fri, 30 Oct 2009 08:20:50 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4

Hi Jim,

On Monday 26 October 2009 09:26 PM, Jim Barbour wrote:
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,

Look at this message, http://lists.gnu.org/archive/html/help-gnu-emacs/2009-09/threads.html. The rest of the thread is also very instructive about how emacsclient and tramp works.

GL

Jim
--
Suvayu

Open source is the future. It sets us free.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]