1. Configuretion
This is trickier, because D-Bus policy typically prevents anything but signals from being viewable by dbus-monitor. But we can change that.
1.1 Create a file /etc/dbus-1/system-local.conf, with these contents:
1.2 Modify file /etc/dbus-1/system.conf to enable method call
Original
Modify to
2.Run dbus monitor
2.1 Reboot
Reboot your machine to pick up the configuration changes. Simply reloading the DBus server configuration is not sufficient. For further info see this bug.
2.2 Run dbus monitor
Now run dbus-monitor as root. You should be able to see all signals, method calls, and method replies.
You will get the method call ,signal like this:
If there is just too much information on the bus, pass a match rule like so to filter all the noise:
Multiple rules can be specified. If a message matches any of the rules, the message will be printed. Like so:
When done debugging, it is wise to remove the policy snippet:
Reference
1.