[Top][All Lists]

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

Re: CVS trunk emacsclient: X11 connection rejected

From: Glenn Morris
Subject: Re: CVS trunk emacsclient: X11 connection rejected
Date: Fri, 26 Oct 2007 23:33:39 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> So the `emacs' server was run with XAUTHORITY=/tmp/.gdmES6K0T which
> only contains keys to contact ":0.0", where the pseudo-display setup
> by ssh on localhost:10 uses its own key, stored in ~/.Xauthority. So
> the problem is that the `emacs' server can't find the appropriate
> key because it's not looking at the right file.

I did try a test with an unset XAUTHORITY:

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

and it didn't seem to help. Maybe I should have been setting it to
~/.Xauthority. I can't test this again till Monday now.

reply via email to

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