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

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


        Stefan




  reply	other threads:[~2009-03-24 11:33 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 [this message]
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
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=jwvfxh3f99r.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=wilde@sha-bang.de \
    /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.