Hi Jeremias, thank you for your fast reply.
This is the output from glxgears:
torizon@e374aeebd4f9:/$ glxgears
Xlib: extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual
I forgot to mention that I tried DISPLAY=:0, DISPLAY=:0.0, DISPLAY=:0.1, DISPLAY=:1.0, DISPLAY=:1.1 and DISPLAY=:1, all with glxgears and with Ogre’s SampleBrowser, with the same results.
The output from glxinfo is:
torizon@e374aeebd4f9:/$ glxinfo
name of display: :0
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Segmentation fault
With a DISPLAY different from :0 or :0.0, the error is:
torizon@e374aeebd4f9:/$ glxinfo
Error: unable to open display :0.1