GLMakie on vscode remote backend

Does anybody know if it’s possible to use GLMakie with vscode remote backend? CairoMaike works.

When I try, I get this:

Failed to precompile GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a] to "/home/user/.julia/compiled/v1.12/GLMakie/jl_6wz446".
┌ Warning:     OpenGL/GLFW wasn't loaded correctly or couldn't be initialized.
│     This likely means, you're on a headless server without having OpenGL support setup correctly.
│     Have a look at the troubleshooting section in the readme:
│     https://github.com/MakieOrg/Makie.jl/tree/master/GLMakie#troubleshooting-opengl.
└ @ GLMakie ~/.julia/packages/GLMakie/vdrwE/src/gl_backend.jl:4
ERROR: LoadError: InitError: Exception[GLFW.GLFWError(65550, "X11: The DISPLAY environment variable is missing"), ErrorException("glfwInit failed")]

If you want to do rendering on the remote machine, you’d need this setup for software rendering:

But if you want to do rendering on your local machine then I think you might be able to do some kind of X forwarding? Not sure if that can be done through VSCode. WGLMakie is also an option there.