XFCE Failed to Connect to Socket
While trying to build up a minimal Gentoo graphical environment I kept running into an error every time I logged into XFCE from lightdm (I didn't try starting up XFCE any other way). There are tons of blog posts that relate to systemd, ubuntu, or crouton but none related to Gentoo.
The first error message that pops up is:
Once you click through there was a second error message, but I believe it was due to the previous error and not actually an issue:
Where the x's are replaced with a random string. My issue ultimately was dbus not being compiled with the 'X' use flag. Adding that flag to "sys-apps/dbus" and re-emerging with the new flags got me to a clean desktop. Great success.