From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Changing the MIT-MAGIC-COOKIE-1 used by emacs --server Date: Tue, 24 Mar 2009 07:33:17 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237894479 14928 80.91.229.12 (24 Mar 2009 11:34:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 11:34:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 24 12:35:57 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 1Lm4v1-00045J-Vg for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2009 12:35:44 +0100 Original-Received: from localhost ([127.0.0.1]:57126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm4te-00046x-M8 for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2009 07:34:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lm4sm-0003ls-Mt for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:33:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lm4sh-0003jq-Pq for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:33:24 -0400 Original-Received: from [199.232.76.173] (port=54034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm4sh-0003jl-Lk for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:33:19 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:48164 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lm4sh-0001Gj-94 for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:33:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvoEAAdiyElFxIZP/2dsb2JhbACBUNFRg3YGhGc X-IronPort-AV: E=Sophos;i="4.38,412,1233550800"; d="scan'208";a="35566888" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 24 Mar 2009 07:33:18 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C08847F74; Tue, 24 Mar 2009 07:33:17 -0400 (EDT) In-Reply-To: (Sascha Wilde's message of "Tue, 24 Mar 2009 12:06:22 +0100") 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:109801 Archived-At: > 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