all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Changing the MIT-MAGIC-COOKIE-1 used by emacs --server
Date: Wed, 25 Mar 2009 10:07:21 +0100	[thread overview]
Message-ID: <m2fxh2ynqu.fsf@sha-bang.de> (raw)
In-Reply-To: <jwvskl2e7cz.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 24 Mar 2009 21:11:17 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> Thanks for your reply.  Unfortunately the gdm from Debain Etch in the
>> setup here does not do so, but only sets XAUTHORITY.
>
> That's very odd.  I've been using Debian's gdm since Sarge and it's
> never done that to me.

This might be due to my setup (I'm using a custom, $HOME/.xsession to
start my window manager and some other stuff).  Anyway the problem seems
to be not too seldom, as gpg-agent -- which has the same problem of
being an daemon running an xclient (pinentry) on changing displays -- is
able to update not only the DISPLAY but XAUTHORITY, too.

>> I'll try to fix it in my .xsession file.  But I still think that it
>> would be handy if one could tell emacs to reevaluate XAUTHORITY or to
>> change the used xauth file by any other means...  :)
>
> You have the source so you can make it do that,

:)

> but I don't think it's worth the trouble, since it's a lot easier to
> solve it outside Emacs.

Would it be that much trouble?  DISPLAY is already communicated to the
server and used, why would it be especially hard to do the same for
XAUTHORITY? 

cheers
sascha
-- 
Sascha Wilde
"Structure is _nothing_ if it is all you got.  Skeletons _spook_ people if
 thwy try to walk around on their own.  I really wonder why XML does
 not."            -- Erik Naggum <erik@naggum.net> in comp.lang.lisp




  parent reply	other threads:[~2009-03-25  9:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 11:06 Changing the MIT-MAGIC-COOKIE-1 used by emacs --server Sascha Wilde
2009-03-24 11:33 ` Stefan Monnier
2009-03-24 16:44   ` Sascha Wilde
2009-03-24 16:59     ` Sascha Wilde
2009-03-25  1:11     ` Stefan Monnier
2009-03-25  1:15       ` Samuel Bronson
2009-03-25  1:57         ` Stefan Monnier
2009-03-25  9:07       ` Sascha Wilde [this message]
2009-03-25 11:54         ` Sascha Wilde

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

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

  git send-email \
    --in-reply-to=m2fxh2ynqu.fsf@sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.