From owner-freebsd-x11@freebsd.org Sat Aug 6 11:42:49 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7A11BB17CA for ; Sat, 6 Aug 2016 11:42:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A1D56188A for ; Sat, 6 Aug 2016 11:42:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A1202BB17C9; Sat, 6 Aug 2016 11:42:49 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E680BB17C8 for ; Sat, 6 Aug 2016 11:42:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 875071889 for ; Sat, 6 Aug 2016 11:42:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u76Bgnvg094917 for ; Sat, 6 Aug 2016 11:42:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-approval requested: [Bug 211624] x11/xdm: Use MIT-MAGIC-COOKIE-1 by default : [Attachment 173356] xdm.diff Date: Sat, 06 Aug 2016 11:42:49 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2016 11:42:49 -0000 Tobias Kortkamp has asked x11@FreeBSD.org for maintainer-appro= val: Bug 211624: x11/xdm: Use MIT-MAGIC-COOKIE-1 by default https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211624 Attachment 173356: xdm.diff https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173356&action=3Dedit --- Description --- xdm has issues on FreeBSD in the default configuration. I've had errors wh= ere 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=20 DisplayManager.*.authName: MIT-MAGIC-COOKIE-1 in xdm-config solves all of these problems. I would like to see this in xd= m 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=3D1.5&content-type=3Dtext/x-cvsweb-markup There is a related issue on the Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D486606