Linux应用程序开发笔记:DBUS进程通信

使用dbus进行进程通信

常见错误及解决办法

错误:

connection error: :org.freedesktop.DBus.Error.NotSupported -- Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

解决办法:

eval `dbus-launch --sh-syntax`
sudo apt install dbus-x11
发布了41 篇原创文章 · 获赞 4 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/u010018991/article/details/103549572