I get the "Error: couldn't get an RGB, Double-buffered visual" message in Ubuntu
PROBLEM DESCRIPTION
When opening 3D applications that use OpenGL such as glxgears and glxinfo, you get the
Error: couldn't get an RGB, Double-buffered visual
RESOLUTION
To resolve this issue, enable the indirect rendering option. To do this, enter the following command before executing the 3D applications:
export LIBGL_ALWAYS_INDIRECT=1