[SLUG] x window tk script to run from cron

From: Larry Brown (larry.brown@dimensionnetworks.com)
Date: Sun Feb 27 2005 - 12:50:47 EST


Hello gang, anyone ever come across this?

I have written a small script that will check a condition. If the
condition check fails, it is supposed to produce a window in KDE that
produces a message based on the condition response. This way I am
alerted to the situation. I can run the script fine from the shell.
However, I do not get a window when running it from cron. I have tried
to use suid to run the script as me, but when running the script as
another user it fails to connect to 0:0 due to security. Temporarily I
can bypass that security by allowing another user to connect to my
x-server, but I don't think I can do this from cron.

Any ideas?

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:39:29 EDT