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: Changing the MIT-MAGIC-COOKIE-1 used by emacs --server Date: Tue, 24 Mar 2009 12:06:22 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237892729 9388 80.91.229.12 (24 Mar 2009 11:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 11:05:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 24 12:06:46 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 1Lm4Sk-0002Ze-JO for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2009 12:06:30 +0100 Original-Received: from localhost ([127.0.0.1]:37610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm4RN-0002TX-Tc for ged-emacs-devel@m.gmane.org; Tue, 24 Mar 2009 07:05:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lm4RH-0002TJ-Oa for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:04:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lm4RF-0002Ss-CC for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:04:58 -0400 Original-Received: from [199.232.76.173] (port=49144 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm4RF-0002Sp-6P for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:04:57 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:3271 helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lm4RE-0005p2-FH for emacs-devel@gnu.org; Tue, 24 Mar 2009 07:04:56 -0400 Original-Received: from kenny.sha-bang.local (xdslz130.osnanet.de [82.149.179.130]) by mail.sha-bang.de (Postfix) with ESMTP id 265B0560 for ; Tue, 24 Mar 2009 12:04:53 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.local with local (Sha Bang MUA v.0711184.68) ID 1Lm4Sc-0004zB-E8 for emacs-devel@gnu.org; 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:109800 Archived-At: Hi *, The problem in short: - start an X11 server with -auth (which is what most display-managers or startx do nowadays) - start `emacs --server' => `emacsclient -c' can create a new X11-frame - quit the X11 server (but leave the emacs server) - start a new X11 server with -auth => `emacsclient -c' can't create a new frame anymore I guess the problem is due to the changed authorization information (cookie). Is there a way to tell the emacs server to use new authorization data for a given display? I made a naive attempt by (setenv "XAUTHORITY" "/path/to/new/xauth-file") but this didn't work... cheers sascha -- Sascha Wilde We're Germans and we use Unix. That's a combination of two demographic groups known to have no sense of humour whatsoever. -- Hanno Mueller in de.comp.os.unix.programming