[Sugar-devel] Sugar collaboration monitoring, with dbus-monitor
James Cameron
quozl at laptop.org
Fri Mar 8 00:03:04 EST 2019
Sugar collaboration is implemented using Telepathy.
Telepathy provides a set of D-Bus services on the user session bus.
Telepathy libraries are called by Sugar, and the libraries translate
invocations to remote procedure calls on D-Bus.
Collaboration can be monitored and debugged using dbus-monitor and
tcpdump. dbus-monitor is run as the Sugar user in order to access the
user session bus.
Attached diagram shows a monitoring method. In this diagram are two
system instances of Sugar Live Build, and a developer's workstation.
The setup order is;
- on each of the two systems, start Terminal activity, install and
enable sshd, install screen, and start "screen -L",
- on the developer's workstation, start two Terminal apps, ssh into
the two systems, and then use "screen -x" to share the screen,
- on each screen, start dbus-monitor,
- close the Terminal activity if necessary; the terminal will continue
to exist on the system for as long as the ssh connection persists,
- begin testing collaboration.
Network packet monitoring can be added by starting a new window in
screen, and running tcpdump.
--
James Cameron
http://quozl.netrek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sugar-collaboration-monitoring.png
Type: image/png
Size: 99816 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190308/968ce24e/attachment-0001.png>
More information about the Sugar-devel
mailing list