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: Tue, 24 Mar 2009 17:44:44 +0100	[thread overview]
Message-ID: <m2zlfazx8j.fsf@sha-bang.de> (raw)
In-Reply-To: <jwvfxh3f99r.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 24 Mar 2009 07:33:17 -0400")

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

>> I made a naive attempt by 
>> (setenv "XAUTHORITY" "/path/to/new/xauth-file")
>> but this didn't work...
>
> The way it is expected to work is: XAUTHORITY is unset (i.e. points to
> ~/.Xauthority) and all keys are stored in ~/.Xauthority.  The `xauth'
> command is used to add/remove keys to/from it.

>> - start an X11 server with -auth
>>   (which is what most display-managers or startx do nowadays)
>
> Yes, most display managers do that to start the display, but when
> someone logs in they also adds the display's key to the user's
> ~/.Xauthority file, so the XAUTHORITY var doesn't need to be set.

Thanks for your reply.  Unfortunately the gdm from Debain Etch in the
setup here does not do so, but only sets XAUTHORITY.  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...  :)

cheers
sascha
-- 
Sascha Wilde
... mein Opa [...]  würde an dieser Stelle zu Dir sagen: Junge, such Dir 
ne Frau, bau Dir ein Haus, mach ein Kind und laß' die Finger von dem Zeug,
das Du gerade machst. -- Michael Winklhofer in d.a.e.auktionshaeuser




  reply	other threads:[~2009-03-24 16:44 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 [this message]
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
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=m2zlfazx8j.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.