Error: DBus could not be found and is required by Docky. Exiting.

5,296 views
Skip to first unread message

q b

unread,
Sep 24, 2011, 11:12:36 AM9/24/11
to Docky
Hello.
I like docky but when I try to run it like this:
sudo docky
I get an error
"DBus could not be found and is required by Docky. Exiting."
But DBus is running.
Somehow I can launch docky with the following command:
dbus-launch docky
but this is not a solution I'm looking for. Please, help me. I found
no solution that could solve the problem.

Robert Dyer

unread,
Sep 24, 2011, 5:27:06 PM9/24/11
to docky...@googlegroups.com
On Sat, Sep 24, 2011 at 10:12 AM, q b <anonch...@gmail.com> wrote:
> Hello.
> I like docky but when I try to run it like this:
> sudo docky

First off, why would you run Docky as root? That is a *bad* idea in general.

> I get an error
> "DBus could not be found and is required by Docky. Exiting."
> But DBus is running.
> Somehow I can launch docky with the following command:
> dbus-launch docky

Second, did you try just running 'docky'?

> but this is not a solution I'm looking for. Please, help me. I found
> no solution that could solve the problem.

The general problem you ran into is that you are running Docky as
another user, which does not have a dbus daemon running *for that
user*. If you seriously want to run Docky as root, you need to run
dbus as root too (again, probably a bad idea).

q b

unread,
Sep 25, 2011, 5:13:16 AM9/25/11
to docky...@googlegroups.com
First off, why would you run Docky as root?  That is a *bad* idea in general.
Second, did you try just running 'docky'?
Yes, sure I did. It just doesn't start. So that's why I tried to start it as root to see if there is an error.
you need to run dbus
I'd like to. When I do 

dbus-launch docky

it starts as usual, but I'd like it to start automatically, not by hand.
Reply all
Reply to author
Forward
0 new messages