I think it's impossible with VirtualGL. VirtualGL works by intercepting GLX calls, redirecting them to a another Xorg server, rendering frames using GL_ARB_pixel_buffer_object
extension, and sending compressed images over network to client.
VirtualGL does not solve the issue of sending GLX calls over network.
I tried "indirect rendering", but there are many problems:
- It's disabled by default, due to security issues,
- Performance is terrible,
- It doesn't provide
GL_ARB_pixel_buffer_object
extension required by VirtualGL.