Strange Dbus behavour

Fluer

New Member
I use d-feet and dbus-monitor for monitoring active Dbus proccess. But i can't understand a few things. I googled but it seems to me i got stuck. Please, help me to understand what happened in dbus in this lines:

Code:
signal time=1565007212.807382 sender=org.freedesktop.DBus -> destination=:1.52 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.52"
signal time=1565007212.807404 sender=org.freedesktop.DBus -> destination=:1.52 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.52"
method call time=1565007227.902936 sender=:1.53 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1565007227.902949 sender=org.freedesktop.DBus -> destination=:1.53 serial=1 reply_serial=1
   string ":1.53"
signal time=1565007227.902956 sender=org.freedesktop.DBus -> destination=(null destination) serial=117 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.53"
   string ""
   string ":1.53"
signal time=1565007227.902964 sender=org.freedesktop.DBus -> destination=:1.53 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.53"
method call time=1565007227.903371 sender=:1.53 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
   string "org.gnome.dfeet"
   uint32 4
signal time=1565007227.903384 sender=org.freedesktop.DBus -> destination=(null destination) serial=118 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.gnome.dfeet"
   string ""
   string ":1.53"
signal time=1565007227.903392 sender=org.freedesktop.DBus -> destination=:1.53 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string "org.gnome.dfeet"
method return time=1565007227.903397 sender=org.freedesktop.DBus -> destination=:1.53 serial=4 reply_serial=2
   uint32 1
method call time=1565007227.903668 sender=:1.53 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gnome.SessionManager'"
method return time=1565007227.903678 sender=org.freedesktop.DBus -> destination=:1.53 serial=5 reply_serial=3
method call time=1565007227.903730 sender=:1.53 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gnome.SessionManager"
error time=1565007227.903740 sender=org.freedesktop.DBus -> destination=:1.53 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=4
   string "Could not get owner of name 'org.gnome.SessionManager': no such name"
method call time=1565007227.903891 sender=:1.53 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gnome.SessionManager'"
method return time=1565007227.903901 sender=org.freedesktop.DBus -> destination=:1.53 serial=7 reply_serial=5
.......

method call time=1565007228.051631 sender=:1.53 -> destination=org.freedesktop.DBus serial=36 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.fedoraproject.Config.Printing"
error time=1565007228.051639 sender=org.freedesktop.DBus -> destination=:1.53 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=36
   string "Could not get owner of name 'org.fedoraproject.Config.Printing': no such name"
method call time=1565007228.051726 sender=:1.53 -> destination=org.freedesktop.DBus serial=37 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.secrets"
error time=1565007228.051734 sender=org.freedesktop.DBus -> destination=:1.53 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=37
   string "Could not get owner of name 'org.freedesktop.secrets': no such name"
.....
method call time=1565007228.052013 sender=:1.53 -> destination=org.freedesktop.DBus serial=40 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gnome.keyring.PrivatePrompter"
error time=1565007228.052021 sender=org.freedesktop.DBus -> destination=:1.53 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=40
   string "Could not get owner of name 'org.gnome.keyring.PrivatePrompter': no such name"
1. I don't see any dbus name :1.52 in d-feet or d-bus monitor. What app has this name and why it lost name?

2. There is org.gnome.SessionManager but i use xfce

3. I have org.gnome.keyring.PrivatePrompter, org.fedoraproject.Config.Printing etc in d-feet and usr/share/dbus-1/services but dbus-monitor say there is no such name..

I can't go deeper in dbus without understanding the base. I hope someone can provide me the good explanation about this behavour .

Thank you in advance!
 
Last edited:


wizardfromoz

Super Moderator
Staff member
Gold Supporter
G'day @Fluer and welcome to linux.org :)

I am moving this Thread to Dev-Ops because it may get more attention for you there.

If you take a look at

https://www.linux.org/forums/

and think there is a more appropriate venue, let me know and I can change what I have done.

Good luck

Chris Turner
wizardfromoz
 

Members online


Latest posts

Top