emacs-devel
[Top][All Lists]
Advanced

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

Re: CVS trunk emacsclient: X11 connection rejected


From: Stefan Monnier
Subject: Re: CVS trunk emacsclient: X11 connection rejected
Date: Fri, 26 Oct 2007 23:04:51 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> On host1, XAUTHORITY=/tmp/.gdmES6K0T. This file has not been updated
> for a few hours. There is a separate ~/.Xauthority file, which is
> updated by ssh running emacsclient, emacs or xterm.

I see.
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.

> On host1, DISPLAY = :0.0

Thanks.

>> That's a bug. What happens to the frame that pops up? Does it stick
>> around, displaying some unrelated buffer? Or does it disappear? Is
>> the buffer displayed elsewhere? Is the buffer not displayed but kept
>> (i.e. it appears in the buffer list)?

> The frame that pops up persists, displaying the `*scratch*' buffer.
> The README file does not appear in the buffer-list at all.
> There's no indication Emacs has tried to visit it (nothing in Messages).
> The frame that pops up has (frame-parameter nil 'display) == :0

Thanks.  I'll try and see what's going.


        Stefan




reply via email to

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