Hi there all,
Background:
I've been trying to run a ZAP scan using the docker build and cannot for the life of me work out why it keeps stopping with no results.
The last error in the zap.log shows the following:
2023-01-16 05:07:04,816 [ZAP-daemon] ERROR UncaughtExceptionLogger - Exception in thread "ZAP-daemon"
java.awt.AWTError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
I am basically jus trying to get any scan to work at this stage, with the following command:
docker run -p 8080:8080 -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-stable zap-full-scan.py -t https://example.com -P 8080 -c zap-casa-config.conf -x results-full.xml -n default.context
Why would it be trying to connect to an X11 window server?
Thanks,
Andrew.