Jupyter-lab Terminal unable to open Display

I installed the interactive jupyter lab.
When I launch the Terminal and I launch an app like xclock, glxgears … I get the message ‘Unable to open Display’, even if I export DISPLAY the app runs with no GUI.
Is this behavior normal or am I missing some configuration step?

Thanks,
Luigi

There is no GUI session for Jupyter. It’s a web application that we’re proxying to. It’d be the same with say sshing to a machine and trying glxgears - it’s just a terminal with no X11/Wayland session running.

Which is to say - that is normal behavior.

Thanks Jeff!
I assumed this reason.
Another question. Would an interactive jupyter-lab with VNC batch-connection make this possible?

Yes I imagine so, though I’ve never done it.

I can confirm you are right, Jeff. Jupyterlab with vnc batch-connect is able tu run X11-session apps.

Best regards,
Luigi