On Wed, Apr 18, 2012 at 16:32, Rajeev Ranjan <rajee...@samsung.com> wrote: > Hi, > While working with E-Notify, I found that notification sent by a sender app > does not get received by the receiver(running the daemon such as > Enlightenment window manager or some other app) if both run under different > user. > One can test this by running e-notify-send under some other user, say root by > switching to that using su. > I tested in an enlightenment session as well as by running notification > daemon in another application after disabling notification module in > enlightenment window manager. > Is it because, E-Notify is using Session Bus! > > Please suggest a way by which it can work between users as well. My > requirement is support multiple users sessions and they should be able to > communicate using e-notify. > > Thank You. > Regards, > Rajeev > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
The reason for this is, that e-notify uses the dbus session bus, which is always session (^= user) specific. This is by design and there is no proper way to do this any other way. In theory you could use the system bus, but e-notify implements the (future?) FDO dbus Desktop Notification Specification [1] which requires the session bus to be used. Basically this means you'll have to implement a separate system for this or use a "dispatcher" which can notify all users, though this is not really specified. Imho you shouldn't touch e-notify for this, but implement a separate system. The session bus is not supposed to be used by other users. ~thomasg [1] http://www.galago-project.org/specs/notification/0.9/index.html ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel