[Vala] glib.application dbus not on system BusType



Hey all,
I have a problem i am facing and i hope some one could help me.Code: 
http://bazaar.launchpad.net/~elementary-pantheon/power-manager/trunk/view/head:/src/application.vala

What i want is to have a dbus interface on the system bus by using glib.application.I have tried bus.get_sync 
() function but that didn't work.
Why i want it to be on system bus, because this daemon application will be run in the back ground as root 
user.It will start up with the system by (ubuntu's)startup or/and systemd.To access it, it would be easier to 
have it on system bus.  because otherwise it is hidden on the root session bus.
Kind regards,Kay van der Zander

                                          


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]