I have a remote computer on AWS (EC2 gl2.2xlarge) with Nvidia GRID card K520 and want to remotely render 3D graphics. I use Ubuntu 14.04 – 64 bit running Unity desktop. Remote and local. For remote connection and OpenGL rendering we use VirtualGL and TurboVNC (*amd64.deb).
I properly installed VirtualGL and TurboVNC and Nvidia 352.63 drivers ( cuda 7.0, because according to this post cuda 7.5 is unstable – which was also unstable for me ).
As I understand VirtualGL uses display :0 and TurboVNC uses display :1 on remote machine.
When I connect to the remote machine and I want to run a 3D app (via vglrun ) it gives me error:
extension "GLX" missing on display ":0.0".
I don't undrestand how VirtualGL works on a remote machine with TurboVNC, how it uses the display :0 and if it's ok.
Do I need something to setup (.conf, graphic driver). I tried installing it over and over, tried serching for answer, but I didn't find a solution.
I can establish connection via TurboVNC with no problem, but vglrun gives me the mentioned erros. Can the problem be in set x.org settings ?
Thanks
Best Answer
The problem was, that there was only 1 X server running, so I only had to do
sudo xinit &
after that, vglrun started to work!
EDIT:
if anyone stumbles upon the same problem, this stackoverflow answer helped me a lot: https://stackoverflow.com/questions/34805794/virtualgl-and-turbovnc-extension-glx-missing-on-display-0-0