Hey everybody,
I've been trying to get OWASP's ZAP Intercepting Proxy to run in an AppVM, but keep encountering this error:
Found Java version 1.8.0_111
Available memory: 604 MB
Setting jvm heap size: -Xmx128m
0 [main] INFO org.zaproxy.zap.GuiBootstrap - OWASP ZAP 2.5.0 started.
73 [main] FATAL org.zaproxy.zap.GuiBootstrap - ZAP GUI is not supported on a headless environment.
As far as I understand it, the AppViewer in the AppVM should catch the GUI windowing attempt and forward it to Dom0's WindowManager, which should then render it on the desktop. Other applications are forwarded and rendered with no issue, so the inherent functionality is intact.
I ran a quick runlevel command and discovered that the AppVM is running at 3 (multi-user, no GUI), so could that be the culprit forcing Java's isHeadless() check to return as True and throw the error, not even making the attempt at GUI in the first place? Granted I'm not a Java programmer, so I'm not sure how those internals work. Simultaneously, however, an instance of X server is running on the AppVM, the qubes-gui-agent has a S(tart) entry in rc3.d, and as previously mentioned, all other applications are displayed without a hitch.
Can anyone offer any help? Greatly appreciated and thanks in advance