On Jun 6, 2012 10:57 AM, "Rajesh kumar" <[email protected]> wrote: > > I am building a custom application which starts in roots cron every day. I > am using Xmessage to alert the user that the application is completed > running. It should alert all the user who have logged in via a popup.
Use dbus, it is designed exactly for this usage. X has an authentication mechanism between the X server and the client. The shared secret MIT MAGIC COOKIE is stored in the xauthority file which is accessible only by the local user who has started the X session. If you want to applications launched by your cron job to communicate to X sessions of other users, you will have to bypass the X session security mechanisms. Not a recommended practice. - Raja _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
