XDM authorization key matches an existing client
Jilles Tjoelker
jilles at stack.nl
Mon Oct 27 22:18:06 UTC 2014
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 at 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
More information about the freebsd-stable
mailing list