Fwd: dbus-monitor from remote PC (Win7 machie)

kishore kishore.99v at gmail.com
Wed Jul 22 07:18:25 PDT 2015

Hi Simon,

Appreciating your response and below are my comments.

1. My requirement is without using ssh and remotely login  and  then giving
"dbus-monitor". (it is nothing but *running locally*)
2. once after i finish this i should be able to send dbus messages using
dbus-send.exe from win7.  for that first i am trying to make
dbus-monitor.exe works fine and able to see the dbus messages remotely.

It is like this send the dbus message using dbus-send.exe remotely and
monitor corresponding response using dbus-monitor.exe remotely. (without
using ssh login.)

Note : Please give the solution on dbus-monitor.exe execution remotely.


On Wed, Jul 22, 2015 at 7:08 PM, Simon McVittie <
simon.mcvittie at collabora.co.uk> wrote:

> On 22/07/15 14:16, kishore wrote:
> > I wanted to see the dbus messages of UBUNTU machine from windows machine
> > by running the dbus-monitor from window7. for that i had done the below
> > entries in /etc/dbus-1/session.conf
> >
> >   <listen>tcp:host=localhost,bind=*,port=6669</listen>
> >   <listen>unix:tmpdir=/tmp</listen>
> >   <auth>ANONYMOUS</auth>
> >   <allow_anonymous/>
> D-Bus over remote TCP is neither frequently-tested nor secure; in
> particular, opening up anonymous access as you have done makes it
> completely insecure. I recommend not doing this. Instead, run a ssh
> (Secure Shell) server on the Ubuntu machine, and log in remotely, for
> instance by running PuTTY on the Windows machine. That will let you run
> remote commands of your choice, including dbus-monitor.
> By copying the DBUS_SESSION_BUS_ADDRESS environment variable from your
> login session to the ssh shell, you can monitor any session bus.
> > 1. Am i doing wrong or missing anything here ?
> I think Ubuntu systems have a firewall by default. That might be what's
> blocking your connection.
> --
> Simon McVittie
> Collabora Ltd. <http://www.collabora.com/>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20150722/097184e4/attachment-0001.html>

More information about the dbus mailing list