[Openvas-discuss] OpenVAS client attempts to open display

Tim Brown timb at nth-dimension.org.uk
Wed Jul 2 21:39:54 CEST 2008


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 127.0.0.1 1241 username password ips.txt report.nbe

Cheers,
Tim
-- 
Tim Brown
<mailto:timb at nth-dimension.org.uk>
<http://www.nth-dimension.org.uk/>



More information about the Openvas-discuss mailing list