I have a debian distrobox (podman) with with fenicsx installed. When I call python code from inside the regular terminal like from “distrobox-enter fenics”, both mesh files and the pyvista visual of the mesh are generated. However, when using vscode + devcontainers when python code is run only the mesh files are generated, and a popup that says " Your application running on port 1024 is available. - open in browser, preview in editor" appears. Clicking either option leads to a blank screen. I suspect this is more related to networking than graphics but I could be wrong.
What could be causing this issue? Are there any parameters I should be changing in the devcontainers.json file?