Hi,
These seem like Virtual GL setup / remote display config issues
please check if DISPLAY environment variable is set correctly. if tests likeĀ "glxgears" or "glxspheres" work. check path which can affect the order in which the libries get loaded. you can try using "ldd " to see which libraries are getting used.
Hope this helps