On Thu, Jun 7, 2012 at 12:55 AM, Raja Subramanian
<rajasuperman at gmail.com> 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.