Created attachment 144053 [details] With this patch, xdm works again. When loging on xfce4 from xdm, after login the xfce4 don't runs and xdm is back again.
If you use Xfce, you should rather use x11/slim or x11/gdm. Consolekit is required for xfce4-session.
Oliver, xdm is a perfectly cable login-manager and there is no reason xfce4 should not be working with it. The solution is proposed here: https://bugzilla.xfce.org/show_bug.cgi?id=8841 Following the example given over there, I modified my own ~/.xsession to initialize dbus before launching startxfce4: if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] then eval `dbus-launch --sh-syntax --exit-with-session` fi exec ...... startxfce4 With the above work-around, I am able to login now, but the xfce4 port should have a new patch added as a fix to make work-around unnecessary.
The following comments were lost with the 2015-01-07 Bugzilla incident: Jean-Sébastien Pédron: > What is the status of this? Is the solution proposed by Mikhail working for > everybody? Olivier Duchateau: > In work in progress Xfce's FAQ [1], [2], there's solution (workaround, question > #2) if someone wants to use Xdm with Xfce. > I won't patch xinitrc, because it breaks session and other applications > targeted 4.11. Xfce works fine with polkit, (even sysutils/polkit is not good > shape). Patch pointed by Mikhail is xinitrc used with Xfce <= 4.8, and it's not > approved by upstream. > > [1] https://reviews.freebsd.org/D1305 > [2] > https://subversion.assembla.com/svn/xfce4/doc/head/en_US.ISO8859-1/htdocs/xfce/ Jean-Sébastien Pédron: > Should this bug assigned to the Xfce team then? So you can close it when D1305 > is committed. Mikhail T.: >> I won't patch xinitrc, because it breaks session and other applications >> targeted 4.11. > > I'm sorry, I can not understand the above. Are you talking about the > etc/xdg/xfce4/xinitrc? > > Maybe, the same hack can be placed into the startxfce4 script itself? > >> not approved by upstream. > > Well, it is not rejected by upstream either :-) Olivier Duchateau: > Yes, I'm talking about /usr/local/etc/xdg/xfce4/xinitrc file. Xdm needs this > file. > > I disagree to modify startxfce4 script. The best solution is to modify > $HOME/.xinitrc only. > > In the FAQ, there's part how to launch Xfce, and even with SLiM and non UTF-8 > encoding .xinitrc must be changed. Olivier Duchateau: > Re-assign to the Xfce team
This can work also. Edit the file /usr/local/lib/X11/xdm/xdm-config And add this line: DisplayManager*authName: MIT-MAGIC-COOKIE-1
See PR#211624 for the fix.