Re: X, cron & access control
>>>>> "S" == S Wallace <email@example.com> writes:
S> I have a machine that does very little other than act as a cvs-server.
S> Since it sits idle for most of its life, I was hoping to take advantage
S> of the time by running some simulations during the night.
S> The problem is this: the simulation is written in Tcl/Tk, and
S> unfortunately requires creating/manipulating windows, even though no
S> actual interaction is necessary.
You might like to check some dummy X servers. They are for programs you just
described, i.e. programs that draw to the X display even if nothing is
needed. Check for example [url]http://www.itworld.com/AppDev/1461/UIR000330xvfb/[/url]
on the xvfb, it seems to me they describe your problem:
"I've got this cool image converter/graph generator/network
monitor/whatever that I want to use to generate daily reports for my
boss. I've got it all figured out, and it runs automatically, but when I
put it in crontab it doesn't work. Now what?" That person probably needs
Xvfb. There are a lot of situations like that: an application insists on
a DISPLAY, but doesn't really require anyone to see what's there. Xvfb is
great for such jobs.
Arto V. Viitanen [email]firstname.lastname@example.org[/email]
University of Tampere, Department of Computer and Information Sciences
Tampere, Finland [url]http://www.cs.uta.fi/~av/[/url]