Getting DBUS to work
I've recently moved from BMP to BMPx as my media player, and to do things to it via commandline, I need to enable DBUS.
So I emerged dbus, and all went well. I also added 'dbus' to the init scripts (rc-update add dbus default). However, when I attempt to access DBUS, it does not work:
I attempted to check the $DBUS_SESSION_BUS_ADDRESS variable, but it returns nothing. However, running dbus-launch:
alex@tux ~ $ bmpx-dbus-system-control PlayPause
** ERROR **: Couldn't connect to session bus: Unable to determine the address of the message bus
In addition, dbus IS running. This is from 'ps aux':
alex@tux ~ $ dbus-launch
I am completely lost on where to go from here. Can anyone help?
alex 6953 0.0 0.0 3636 540 ? Ss 09:55 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session