I have created simple application using d-bus, it works on kubuntu but doesn't work on my embedded linux.
When I run a qt application it says: Not connected to D-Bus server
When I try to run dbus-monitor I got this error:
Failed to open connection to session bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue.
dbus-daemon process is running on my system but dbus-launch is not. I presume that dbus-launch have to be running because it run on my kubunutu.
Can any one suggest me anything?
Thanks
I had the same problem, and I solved it like suggested here.
If you have a program named app
, then what worked for me is this :
eval `dbus-launch --auto-syntax` ./app
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With