Howto determine the dbus session address??

Rui Tiago Cação Matos tiagomatos at gmail.com
Tue Aug 17 08:48:05 PDT 2010


2010/8/17 Stef Bon <stef at bononline.nl>:
> No sorry, I'm afraid you do not understand.
> The script to find out the dbus address runs under a complete other user
> (aka root), and
> the problem here is that it has to find out the dbus session address for all
> user using my construction.
>
> So all the users are known, as well as the display device (for every
> individual user ).
>
> How to determine to dbus session address for these users, to send a message
> using dbus.notify.

If yours is a *system* service then it must send its signals on the
*system* bus. Then, in each session, some daemon (which would
presumably then notify the user) must listen for said signals on the
*system* bus.

Rui


More information about the dbus mailing list