Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 23:18:03 +0100
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Eivind Evensen <eivinde@terraplane.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: XDM authorization key matches an existing client
Message-ID:  <20141027221802.GA32726@stack.nl>
In-Reply-To: <20141027202426.GA32910@klump.hjerdalen.lokalnett>
References:  <20141027185600.GC32314@klump.hjerdalen.lokalnett> <EBE51260-A6C4-4AD5-9714-CDB1BAFDF799@jnielsen.net> <20141027202426.GA32910@klump.hjerdalen.lokalnett>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <eivinde@terraplane.org> 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.

-- 
Jilles Tjoelker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141027221802.GA32726>