I am trying to use graphical applications to do “offscreen” rendering on a headless board. Inspecting the xorg.conf shows the following:
# Allow X server to be started even if no display devices are connected. Option "AllowEmptyInitialConfiguration" "true"
This seems to indicate that an X server should start even when no monitor is plugged into the HDMI port. However, when running headless and I SSH into the Nano, I get errors.
> glxinfo Error: unable to open display >DISPLAY=:0.0 glxinfo No protocol specified Error: unable to open display :0.0
To be clear, I am not looking to do X forwarding or VNC. Rather I want to render on the Jetson Nano (application will save output as an image sequence), which requires an X server.
I’ve already looked at a couple other solutions, but didn’t have total success. Xvfb did allow for headless rendering, but it used VMWare for OpenGL and only supported version 3.3 (instead of 4.6 actually supported by the Nano’s GPU). I also tried to add a virtual screen in my xorg.conf, but no success there either.