> On Wednesday 02 July 2008 20:16:19 [EMAIL PROTECTED] wrote:
>> When I run OpenVAS-Client in 'quiet' mode in a cron job error 'cannot
>> open
>> display' is returned.  The only way I can get the cron job to work is to
>> start X and specify the --display=localhost:0 option in the
>> OpenVAS-Client
>> command.
>
> Running OpenVAS-Client from a tty with no DISPLAY variable set works fine
> for
> me.  How are you calling it?  I used the following:
>
> OpenVAS-Client -x -q 127.0.0.1 1241 username password ips.txt report.nbe
>
> Cheers,
> Tim
> --
> Tim Brown
> <mailto:[EMAIL PROTECTED]>
> <http://www.nth-dimension.org.uk/>
>

I built OpenVAS-Client 1.0.4 using 'configure --disable-gtk' and I can now
run it in batch mode without having to start X or set a DISPLAY variable. 
It looks like some display initialisation code may get called even when
'quiet' (batch) mode is specified.

Regards,
Ian.


_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to