Hi,
the attached piece of code deadlocks when called via sudo but works fine
otherwise. This is probably caused by DBUS_SESSION_BUS_ADDRESS pointing to a
socket for the session bus of the user calling sudo which is not owned by root.
When using dbus_threads_init_default() or not initializing threads at all it
doesn't deadlock but fails gracefully.
Hi, BUS_ADDRESS pointing to a
the attached piece of code deadlocks when called via sudo but works fine
otherwise. This is probably caused by DBUS_SESSION_
socket for the session bus of the user calling sudo which is not owned by root.
When using dbus_threads_ init_default( ) or not initializing threads at all it
doesn't deadlock but fails gracefully.
Bye