[Ilugc] Xmessage in SUSE

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Thu, 7 Jun 2012 11:04:30 +0530

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.

+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

Other related posts: