question

ryanb avatar image
ryanb asked

dbus services not displayed using "dbus" command

This question related to the tutorial on this page (image below) :

https://github.com/victronenergy/velib_python

Once I have started the vedbusservice_example.py, I start another terminal window, and type

dbus

initially I get an error :

Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

so then I export DBUS_SESSION_BUS_ADDRESS :

export $(dbus-launch)

and try the 'dbus' command again, which returns :

org.freedesktop.DBus

yet, when I type dbus-spy, I get the following services displayed :

com.victronenergy.example

com.victronenergy.fronius

com.victronenergy.logger

com.victronenergy.qwacs

com.victronenergy.settings

com.victronenergy.system

com.victronenergy.vecan.can1


I would be very grateful if someone could help to explain this..

Am I exporting the wrong DBUS-SESSION?


Thank you,


Ryan

Venus OS
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi Ryan, try "dbus -y" (which makes it use the system dbus; rather than the non-existing session dbus)


Or use dbus-spy; but I see now that works for you already.


Success, Matthijs

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ryanb avatar image ryanb commented ·

Many thanks Matthijs

0 Likes 0 ·

Related Resources