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

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

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



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