(~x86) emerge kdebase-meta Set DISPLAYMANAGER="kdm" in /etc/conf.d/xdm /ect/init.d/xdm start X tries to start, then switched back to the first terminal. /var/log/kdm.log has: process 2100: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory /etc/init.d/dbus start /ect/init.d/xdm restart ... kdm comes up correctly. Ideally the xdm script would depend on dbus in this case - not sure if it is effected by a USE flag. Reproducible: Always
If you have both dbus and xdm in your default runlevel, dbus will start first. dbus is a requirement for KDE (at least for kde4, I'm not sure about 3).
So is there anything that the kdeprefix USE wouldn't effect that could be used as a test for kdm-4? A user could start gnome or somthing else, of course, but kdm4 still requires the dbus service be running.
GNOME and Xfce require D-Bus to be running as well. After emerging D-Bus there's a big fat warning telling you to add it to your default run level because a lot of things require it. This is a configuration issue and not an actual software bug.