maintainer-approval requested: [Bug 211624] x11/xdm: Use MIT-MAGIC-COOKIE-1 by default : [Attachment 173356] xdm.diff

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 6 11:42:49 UTC 2016


Tobias Kortkamp <t at tobik.me> has asked x11 at FreeBSD.org for maintainer-approval:
Bug 211624: x11/xdm: Use MIT-MAGIC-COOKIE-1 by default
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211624

Attachment 173356: xdm.diff
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173356&action=edit



--- Description ---
xdm has issues on FreeBSD in the default configuration.  I've had errors where
I was successfully logged in and then my X session died immediately.  With
xdm's default config SDL2 clients cannot be run, quitting with:

XDM authorization key matches an existing client!

There are other related issues (see linked bugs).  All of these issues seem to
boil down to XDM-AUTHORIZATION-1 being broken.	Adding 

DisplayManager.*.authName:     MIT-MAGIC-COOKIE-1

in xdm-config solves all of these problems.  I would like to see this in xdm in
the default configuration.

OpenBSD has done this since OpenBSD 2.4:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/xenocara/app/xdm/config/xdm-config.cpp
?rev=1.5&content-type=text/x-cvsweb-markup

There is a related issue on the Debian bug tracker:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486606


More information about the freebsd-x11 mailing list