I'd like to mention that I faced a lot of problems because the dbus address env variable wasn't defined, my setup is as follows:
I installed Ubuntu Gutsy on my machine then I upgraded to Hardy, everything was going fine then I switched to KDE and made it the default, note that I had dbus-x11 already installed, this is when I started getting problems, I get random pauses in mplayer and an error message on totem startup in addition to a significant slowdown when showing GTK file dialogs, later I figured out all these are related to D-BUS, when I checked mplayer output I found that the random pauses are in sync with the following error message:
Message: Failed to connect to the D-BUS daemon
and the error message on totem startup was:
Unable to activate plugin Media Player Keys
A search on the web showed that this is related in someway or another to D-BUS
I'd like to mention that I faced a lot of problems because the dbus address env variable wasn't defined, my setup is as follows:
I installed Ubuntu Gutsy on my machine then I upgraded to Hardy, everything was going fine then I switched to KDE and made it the default, note that I had dbus-x11 already installed, this is when I started getting problems, I get random pauses in mplayer and an error message on totem startup in addition to a significant slowdown when showing GTK file dialogs, later I figured out all these are related to D-BUS, when I checked mplayer output I found that the random pauses are in sync with the following error message:
Message: Failed to connect to the D-BUS daemon
and the error message on totem startup was:
Unable to activate plugin Media Player Keys
A search on the web showed that this is related in someway or another to D-BUS
All of these problems in addition to the significant slowdown when showing GTK file dialogs disappeared after using the solution by Pat Double (https:/ /bugs.launchpad .net/ubuntu/ +source/ dbus/+bug/ 207157/ comments/ 6)