Currently xdm is set to: # Start before X use consolekit dbus xfs this is true, only when consolekit and dbus both added to runlevel. Otherwise, they will not start. While, it's generally good idea manually add both into openrc runlevels, xdm should start them automatically. The fix to this would be: # Start before X need consolekit use xfs Consolekit init script, in turn, have "need dbus" set. xdm, when starting will start consolekit by needed runlevel, and consolekit will start dbus before by needed runlevel, aswell. Reproducible: Always
Not every desktop / window manager needs consolekit and/or dbus. That's why our X11 team didn't add these dependencies. Quick and easy fix for you: echo 'rc_need="consolekit" >> /etc/conf.d/xdm' rc-update -u
i'm aware of such workarounds, thx. Mainly it's needed for kde, xfce, mate, so here i my suggestion (for DE/WM, which do need dbus): case ${DISPLAYMANAGER} in kdm|kde|whatever login manager make sense) need consolekit ;; esac
That doesn't work reliably either. What about non-specific display managers like lightdm/sddm/slim which can work with kde/gnome but also with lightweight window managers? KF5 (also known as kde5) doesn't ship kdm anymore but suggests to use sddm. But sddm is not kde-specific. So your logic doesn't apply anywhere.