rviz doesn't start when run remotely, throws GLXUnsupportedPrivateRequest error
This is similar to http://answers.ros.org/question/10588/rviz-does-not-start-prints-glxunsupportedprivaterequest/ (this question), in that when I run rviz, I get the following error:
Xlib: extension "NV-GLX" missing on display "localhost:10.0". The program 'rviz' received an X Window System error. This probably reflects a bug in the program. The error was 'GLXUnsupportedPrivateRequest'.
(Details: serial 20 error_code 176 request_code 154 minor_code 16)
In my case, this happens only when I'm running rviz on my desktop while connected to it remotely, with X forwarding, using ssh -Y
. When I'm at the desktop in person, rviz works just fine.
A bit more info:
I'm actually connecting to my desktop from an Ubuntu virtual machine running on a Windows laptop (I know, it's horribly baroque, but it's the only way I could get linux running on my company laptop).
This virtual machine doesn't have access to the laptop's graphics card, so it can't run rviz locally. However, I thought that it would still be able to run rviz on a remote machine, since the remote machine would do the rendering, and the laptop would just display the rendered screen images that it receives over X. Was I wrong?