Re: dbus_bus_get_private return NULL but with no error set
Thiago Macieira <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <5475928.FbEohrBi06@tjmaciei-mobl1> |
On Tuesday, 25 April 2017 10:31:34 -03 prashantkumar dhotre wrote: > >Is the system bus even running on your system? > > I dont know if system bus is running at that point of time i.e > dbus_bus_get_private() is called too soon before system bus started > running. > I am not sure. > How do i find out using any dbus API ? If you see dbus-daemon --system somewhere in your system, it's running. If it's not running, fix your system. The system daemon cannot be autostarted. Systemd has a complex way of starting it at boot it, but the discussion is not relevant here. If you depend on how/ when systemd starts it, then please take the discussion to the systemd mailing lists. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus