On Thu, Jun 7, 2012 at 12:55 AM, Raja Subramanian
<[email protected]> wrote:
>
> 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.

+1 (Nice and succinct explanation Raja).

Sidebar question to OP - can it not be done via a simple email?   I
guess your objective is to notify the users that the job is completed.

-- Arun Khan
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to