I would like to know more about DBus in Linux. After executing qbus on my terminal in Ubuntu 16.04, I see:


What does the :1.0 mean? and why I see such a number in multiply lines ? What I know from the manual (--help), the com.ubuntu.Upstart refers to the service name. Since, with 0 arguments, qdbus will list the services available on the bus. So, if I run qdbus com.ubuntu.Upstart, it returns:


My guest is that the above path is the DBus object that cannot be found in the filesystem. But, what can I interpret more details about these objects? Since we can create multiple buses. My last question is, how can we see a list of all available bus in a system?


1 Answer 1


From https://dbus.freedesktop.org/doc/dbus-tutorial.html#interfaces

When each application connects to the bus daemon, the daemon immediately assigns it a name, called the unique connection name. A unique name begins with a ':' (colon) character. These names are never reused during the lifetime of the bus daemon - that is, you know a given name will always refer to the same application. An example of a unique name might be :34-907. The numbers after the colon have no meaning other than their uniqueness.

And a little further

Applications may ask to own additional well-known names. For example, you could write a specification to define a name called com.mycompany.TextEditor. Your definition could specify that to own this name, an application should have an object at the path /com/mycompany/TextFileManager supporting the interface org.freedesktop.FileHandler.

So something like :1.123 is just unique name but it also might be referenced under a human-readable name somewhere in the list,too

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.