unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: CVS trunk emacsclient: X11 connection rejected
Date: Fri, 26 Oct 2007 23:04:51 -0400	[thread overview]
Message-ID: <jwv4pgdqmzz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <qik5p9qntx.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri\, 26 Oct 2007 22\:43\:38 -0400")

> 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	other threads:[~2007-10-27  3:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26  0:57 CVS trunk emacsclient: X11 connection rejected Glenn Morris
2007-10-26  5:24 ` Stefan Monnier
2007-10-27  0:44   ` Glenn Morris
2007-10-27  2:16     ` Stefan Monnier
2007-10-27  2:43       ` Glenn Morris
2007-10-27  3:04         ` Stefan Monnier [this message]
2007-10-27  3:33           ` Glenn Morris
2007-10-27 19:51             ` Stefan Monnier
2007-10-29 17:57               ` Glenn Morris
2007-10-29 18:02                 ` Glenn Morris
2007-10-29 19:16                 ` Stefan Monnier
2007-10-29 20:25                   ` Glenn Morris
2007-10-29 21:01               ` Stefan Monnier
2007-10-29 22:03                 ` Glenn Morris
2007-10-30  2:01                   ` Stefan Monnier
2007-10-26  5:41 ` Jan Djärv
2007-10-27  0:47   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4pgdqmzz.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).