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: Wed, 25 Mar 2009 10:07:21 +0100 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 1237971977 16971 80.91.229.12 (25 Mar 2009 09:06:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2009 09:06:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 10:07:34 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 1LmP5A-0003Xz-O9 for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2009 10:07:33 +0100 Original-Received: from localhost ([127.0.0.1]:52958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmP3n-0000Yx-Em for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2009 05:06:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmP3f-0000W4-A0 for emacs-devel@gnu.org; Wed, 25 Mar 2009 05:05:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmP3c-0000T2-UQ for emacs-devel@gnu.org; Wed, 25 Mar 2009 05:05:58 -0400 Original-Received: from [199.232.76.173] (port=50845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmP3c-0000Sj-MZ for emacs-devel@gnu.org; Wed, 25 Mar 2009 05:05:56 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:1064 helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmP3b-0006Iq-RG for emacs-devel@gnu.org; Wed, 25 Mar 2009 05:05:56 -0400 Original-Received: from kenny.sha-bang.local (xdslr147.osnanet.de [82.149.187.147]) by mail.sha-bang.de (Postfix) with ESMTP id 607F5559; Wed, 25 Mar 2009 10:05:52 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.local with local (Sha Bang MUA v.0711184.68) ID 1LmP4z-0003Ke-IY; Wed, 25 Mar 2009 10:07:21 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 24 Mar 2009 21:11: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:109814 Archived-At: Stefan Monnier 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 in comp.lang.lisp