Hi everyone,
I am new at c++ programming and I have some problem with Dbus.
My application is a media player, I am using a raspberry 3 with Jessie.
I am trying to connect my application to the Omxplayer (raspberry player) Dbus.
It works if the application is run from a logged console, but if I create a service that launch the application I receive the following error:
dbus_bus_get_private(): /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.