What results should I get when checking openGL support on the guest vm? The following is what I get on vmware workstation preview edition 2015. I tried the preview as it stated openGL 3.3 support. The out put remains the same whether running it prior to your script, with optirun from cli or without anything.
djerk@djerk-W540:~/bin$ optirun glxinfo | grep -i openGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro K1100M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 340.76
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 340.76
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions: