[PATCH] dbus-send: register connection on the bus when --address is used as dbus-monitor does
Pavel Strashkin
pavel.strashkin at gmail.com
Wed Nov 30 23:46:04 PST 2011
Hello,
When dbus-send is used with --address command line option, it always
fails with "org.freedesktop.DBus.Error.AccessDenied: Client tried to
send a message other than Hello without being registered". The reason
is pretty simple: there is no dbus_bus_register call in this case.
Patch adds dbus_bus_register call as dbus-monitor does. Now it works
as expected.
Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dbus-send-register-connection-on-the-bus-when-addres.patch
Type: application/octet-stream
Size: 991 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20111130/a67cc0bf/attachment.obj>
More information about the dbus
mailing list