On Fri, 2002-05-24 at 06:58, Clive wrote:
kmail refuses to start up. I have checked the logs in /var/spool/mail/****** and here are some of the responces :-
Subject: Cron <********> /opt/kde2/bin/kmail X-Cron-Env:
X-Cron-Env: X-Cron-Env: X-Cron-Env: Aborting. $DISPLAY is not set. ERROR: KUniqueApplication: Pipe closed unexpected.
If you're the only person using the machine, you can set the environment variable DISPLAY in your crontab file. For example: "DISPLAY=:0" (without the quotes). Now, kmail will know which X windows screen to start on. If you need something a little more sophisticated, I've got a script that runs X windows programs only when you're logged in (it's just skipped otherwise). It was writtem specifically for use in cron. Let me know off-list if you want a copy. -- Robert Wohlfarth rjwohlfar@galaxyinternet.net "Is not life more important than food, and the body more important than clothes?" -- Matthew 6:25b