From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Changing the MIT-MAGIC-COOKIE-1 used by emacs --server Date: Tue, 24 Mar 2009 17:44:44 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237914878 25671 80.91.229.12 (24 Mar 2009 17:14:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 17:14:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 24 18:15:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmAE7-0006pP-Fz for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2009 18:15:47 +0100 Original-Received: from localhost ([127.0.0.1]:35656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmACk-0003nc-CW for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2009 13:14:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lm9in-0006T5-PJ for emacs-devel@gnu.org; Tue, 24 Mar 2009 12:43:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lm9il-0006SI-D7 for emacs-devel@gnu.org; Tue, 24 Mar 2009 12:43:24 -0400 Original-Received: from [199.232.76.173] (port=56330 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm9il-0006S4-2f for emacs-devel@gnu.org; Tue, 24 Mar 2009 12:43:23 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:4106 helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lm9ij-0002Pl-1T for emacs-devel@gnu.org; Tue, 24 Mar 2009 12:43:22 -0400 Original-Received: from kenny.sha-bang.local (xdslz130.osnanet.de [82.149.179.130]) by mail.sha-bang.de (Postfix) with ESMTP id 80F17560; Tue, 24 Mar 2009 17:43:15 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.local with local (Sha Bang MUA v.0711184.68) ID 1Lm9k4-0004sO-KZ; Tue, 24 Mar 2009 17:44:44 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 24 Mar 2009 07:33:17 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109802 Archived-At: Stefan Monnier wrote: >> I made a naive attempt by=20 >> (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 --=20 Sascha Wilde ... mein Opa [...] w=FCrde an dieser Stelle zu Dir sagen: Junge, such Dir= =20 ne Frau, bau Dir ein Haus, mach ein Kind und la=DF' die Finger von dem Zeug, das Du gerade machst. -- Michael Winklhofer in d.a.e.auktionshaeuser