D-Bus (Desktop Bus) is a simple inter-process communication (IPC) system for software applications to communicate with one another. D-Bus was heavily influenced by KDE2–3's DCOP system and has replaced it in the KDE 4 release; it is supported on Linux, Microsoft Windows and Apple OS X operating systems and is used by Qt 4 and GNOME.
Source: D-Bus - Wikipedia.
Could not get UID and GID
If you get the following error while starting DBUS:
Failed to start message bus: Could not get UID and GID for username "dbus"
then add the user like so:
# groupadd -g 81 dbus # useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
If you are not using a desktop environment, more than likely you will need to add the following to your .xinitrc:
# D-bus if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then eval `dbus-launch --sh-syntax --exit-with-session` fi
This is used to start a user d-bus session (seperate from the system's) and remedies errors such as:
libnotify-Message: Unable to get session bus: Failed to execute dbus-launch to autolaunch D-Bus session
For more information, see Gnome-do and compiz standalone and