libGL error (glxgears do not rotate) on remote computer through ssh -X

Hi *,

I have a problem with libGL. I run glxgears on my terminal with NIVIDA Quadro FX 3800 and it works perfectly. The problem happens when I access a remote computer (no NVIDIA card) through ssh -X and then I run glxgears on the remote computer. I got the following message:

root@todd:[~]: LIBGL_DEBUG=verbose glxgears
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
42410 frames in 13.5 seconds = 3144.570 FPS
786 frames in 12.4 seconds = 63.634 FPS
789 frames in 12.0 seconds = 65.650 FPS

So, the glxgears window pops up but the gears DO NOT rotate

root@todd:[~]: LIBGL_DEBUG=verbose glxinfo | grep render
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Quadro FX 3800/PCIe/SSE2

I have tried this content in my xorg.conf:

Section "ServerFlags"
 Option "AllowIndirectGLX" "on"
EndSection

Can you please help me to fix this problem?

Thank you,

Ema

Could you eventually fix this problem? I’m asking because maybe this is relevant to my question here https://devtalk.nvidia.com/default/topic/1032760/linux/unable-to-run-flex-despite-having-opengl-could-not-initialize-gl-extensions/.