[Bug 211624] x11/xdm: Use MIT-MAGIC-COOKIE-1 by default

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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211624

            Bug ID: 211624
           Summary: x11/xdm: Use MIT-MAGIC-COOKIE-1 by default
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: t at tobik.me
                CC: x11 at FreeBSD.org
 Attachment #173356 maintainer-approval?(x11 at FreeBSD.org)
             Flags:
                CC: x11 at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list