From owner-freebsd-stable@FreeBSD.ORG Tue Oct 28 07:13:10 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7979FE5B for ; Tue, 28 Oct 2014 07:13:10 +0000 (UTC) Received: from nmsh4.e.nsc.no (nmsh4.e.nsc.no [193.213.121.75]) by mx1.freebsd.org (Postfix) with ESMTP id C6108D4D for ; Tue, 28 Oct 2014 07:13:08 +0000 (UTC) Received: from terraplane.org (ti0027a400-0787.bb.online.no [85.164.10.23]) by nmsh4.nsc.no (8.14.7/8.14.7) with ESMTP id s9S6cE4Z003701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 28 Oct 2014 07:38:15 +0100 (MET) Received: from terraplane.org (localhost [127.0.0.1]) by terraplane.org (8.14.5/8.14.5) with ESMTP id s9S6k6cb035696; Tue, 28 Oct 2014 07:46:06 +0100 (CET) (envelope-from rumrunner@terraplane.org) Received: (from rumrunner@localhost) by terraplane.org (8.14.5/8.13.8/Submit) id s9S6k5Vs035695; Tue, 28 Oct 2014 07:46:06 +0100 (CET) (envelope-from rumrunner) Date: Tue, 28 Oct 2014 07:46:05 +0100 From: Eivind Evensen To: Jilles Tjoelker Subject: Re: XDM authorization key matches an existing client Message-ID: <20141028064605.GB32910@klump.hjerdalen.lokalnett> References: <20141027185600.GC32314@klump.hjerdalen.lokalnett> <20141027202426.GA32910@klump.hjerdalen.lokalnett> <20141027221802.GA32726@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141027221802.GA32726@stack.nl> Cc: freebsd-stable@freebsd.org, Eivind Evensen X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 07:13:10 -0000 On Mon, Oct 27, 2014 at 11:18:03PM +0100, Jilles Tjoelker wrote: > On Mon, Oct 27, 2014 at 09:24:26PM +0100, Eivind Evensen wrote: > > On Mon, Oct 27, 2014 at 01:24:55PM -0600, John Nielsen wrote: > > > On Oct 27, 2014, at 12:56 PM, Eivind Evensen wrote: > > > > > Hello. On FreeBSD elg.hjerdalen.lokalnett 10.0-STABLE FreeBSD 10.0-STABLE, > > > > I have a problem running certain X programs. > > > > > They tell me: > > > > .milkytracker > > > > XDM authorization key matches an existing client!Couldn't initialize SDL: > > > > Couldn't open X11 display > > > > > Using xhost +localhost works around the problem, but I'd rather not > > > > have to do that if avoidable. > > > > > I can't really see anything in the options for sdl that seems to > > > > have an impact. Does anybody have any ideas where I can start to look? > > > > I had a similar (IIRC) problem recently. Try appending > > > DisplayManager*authName: MIT-MAGIC-COOKIE-1 > > > to /usr/local/lib/X11/xdm/xdm-config and restart xdm and your session. > > > That disables the XDM-AUTHORIZATION-1 authentication which, in my case, > > > solved the problem. > > > Thank you, that solves the problem here aswell. I didn't make the connection > > between the section describing this setting in man xdm and my problem. > > In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154502 I proposed > to compile xdm without XDM-AUTHORIZATION-1 at all (configure > --disable-xdm-auth). There is no real benefit to XDM-AUTHORIZATION-1 and > it sometimes breaks things (most annoyingly, it may break logging in). > Debian did the same thing years ago. It sounds to me that that would be a win. Or at the least, if there's ever hope XDM_AUTHORIZATION-1 to give some value, write about it in the ports/package readmes so it's a bit simpler to know what to do. Eivind > Jilles Tjoelker