修复:connectToBus() Connection Error(Using X11 for dbus-daemon autolaunch was disabled at compile time
1.问题:d-bus在dbus-daemon没有运行起来的环境中会报这个错:connectToBus()ConnectionError(UsingX11fordbus-daemonautolaunchwasdisabledatcompiletime,setyourDBUS_SESSION_BUS_ADDRESSinstead2.解决方法:在运行程序之前,先执行这个命令,把dbus-daemon先运