Hi Tzafrir,

Your solution did it ! 

Thanks,

Amichai.

On Saturday 08 February 2003 21:37, you wrote:
> On Sat, 8 Feb 2003, Amichai Rotman wrote:
> > Hi Clan,
> >
> > I am trying to run a cron job to use the record command as follows:
> >
> > KDEDIR/bin/konsole -e /usr/bin/record -cv -t 00:15
> >
> > I am using KCron, so it will be easier, but I get errors. When I choose
> > to Run Now in  KCron, it runs perfectly: Opens a Konsole terminal with
> > the record app and exits normaly. When waiting for the designated time it
> > doesn't. The user runing it gets an e-mail saying:
> >
> > konsole: cannot connect to X server
>
> Guy has already mentioned that for this task (and probably for almost
> anything run under cron) is better done without running an X client.
>
> But since the question was asked...
>
> You should run something like:
>
>   DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority /path/to/X/program and its args
>
> (If there is problem with X authority you'll get a message about
> "connction refused by server" and previously something abut
> "anauthorized").


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to