[Openvas-discuss] OpenVAS client attempts to open display

iaf at iaf.ca iaf at iaf.ca
Thu Jul 3 17:46:23 CEST 2008

Tim Brown wrote:
> On Wednesday 02 July 2008 20:16:19 iaf at iaf.ca 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 1241 username password ips.txt report.nbe
> Cheers,
> Tim

I invoke using the example in the man page:

OpenVAS-Client -c myOpenVASrcfile -T xml -qx localhost 1241 username
password ips.txt report.xml

This command works OK with the nessus client on a headless server but
not with OpenVAS-Client


More information about the Openvas-discuss mailing list