Bug 182561 - x11-wm/xfce4 fails to start from xdm
Summary: x11-wm/xfce4 fails to start from xdm
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 05:00 UTC by Jason W. Bacon
Modified: 2014-11-23 08:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer 2013-10-02 05:00:00 UTC
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.

Fix: 

Add the following to /usr/local/lib/X11/xdm/xdm-config:

    DisplayManager*authName:        MIT-MAGIC-COOKIE-1
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.
Comment 1 Edwin Groothuis freebsd_committer 2013-10-02 21:34:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-xfce

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olivier Duchateau 2013-10-02 22:01:21 UTC
In the past, I used this workaround. But it does not always work.

You should migrate to x11/slim.

2013/10/2  <edwin@freebsd.org>:
> Synopsis: x11-wm/xfce4 fails to start from xdm
>
> Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-xfce
> Responsible-Changed-By: edwin
> Responsible-Changed-When: Wed Oct 2 20:34:39 UTC 2013
> Responsible-Changed-Why:
> Over to maintainer (via the GNATS Auto Assign Tool)
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=182561
> _______________________________________________
> freebsd-xfce@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xfce
> To unsubscribe, send any mail to "freebsd-xfce-unsubscribe@freebsd.org"



-- 
olivier
Comment 3 Carlo Strub freebsd_committer 2014-08-31 18:49:17 UTC
Is this bug still relevant?
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2014-11-23 08:09:23 UTC
Timeout (> 2 months.)