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:
It involves adding the following to /usr/local/lib/X11/xdm/xdm-config:
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.
Add the following to /usr/local/lib/X11/xdm/xdm-config:
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.
Over to maintainer (via the GNATS Auto Assign Tool)
In the past, I used this workaround. But it does not always work.
You should migrate to x11/slim.
> 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
> Over to maintainer (via the GNATS Auto Assign Tool)
> email@example.com mailing list
> To unsubscribe, send any mail to "firstname.lastname@example.org"
Is this bug still relevant?
Timeout (> 2 months.)