Re: Fwd: dbus-monitor from remote PC (Win7 machie)
kishore <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CAGF=DOiQJ7kKm5HryrXsD0cvDQqL2-h0XsNvgxZ23fqg8F_7-g@mail.gmail.com> |
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. Thanks, Kishore On Wed, Jul 22, 2015 at 7:08 PM, Simon McVittie < simon.mcvittie-ZGY8ohtN/[email protected]> 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/dbus > _______________________________________________ dbus mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dbus