From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 2 04:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D4CD6922 for ; Wed, 2 Oct 2013 04:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B37D12540 for ; Wed, 2 Oct 2013 04:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r92400Ma038744 for ; Wed, 2 Oct 2013 04:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r92400he038743; Wed, 2 Oct 2013 04:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 2 Oct 2013 04:00:00 GMT Resent-Message-Id: <201310020400.r92400he038743@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E584C825 for ; Wed, 2 Oct 2013 03:52:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D3B7824D0 for ; Wed, 2 Oct 2013 03:52:05 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r923q5gS032315 for ; Wed, 2 Oct 2013 03:52:05 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r923q5fj032220; Wed, 2 Oct 2013 03:52:05 GMT (envelope-from nobody) Message-Id: <201310020352.r923q5fj032220@oldred.freebsd.org> Date: Wed, 2 Oct 2013 03:52:05 GMT From: Jason Bacon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182561: xfce4 fails to start from xdm X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 04:00:01 -0000 >Number: 182561 >Category: ports >Synopsis: xfce4 fails to start from xdm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 02 04:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: 9.2-RELEASE >Organization: Acadix Consulting, LLC >Environment: FreeBSD oyster.jbacon.dyndns.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When using xdm-1.1.11 for login with xfce-4.10_5, the first session starts successfully, but sessions after that fail to start and leave the following message in .xsession-errors: XDM authorization key matches an existing client!xfce4-session: Cannot open display: . This problem has popped up in recent and past versions of XFCE. I found a workaround/solution here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486606 It involves adding the following to /usr/local/lib/X11/xdm/xdm-config: DisplayManager*authName: MIT-MAGIC-COOKIE-1 This fix solved the issue on both installations. Removing the user's .Xauthority file prior to login also works around it in some cases. This worked consistently on my laptop, but not on a VirtualBox guest with nearly identical configuration. >How-To-Repeat: Install and enable xdm-1.1.11 and xfce 4.10_5. ( sysutils/desktop-installer can assist with this. ) Log in via xdm, log out, and attempt to log in again. >Fix: Add the following to /usr/local/lib/X11/xdm/xdm-config: DisplayManager*authName: MIT-MAGIC-COOKIE-1 >Release-Note: >Audit-Trail: >Unformatted: