BadValue while Running RandomFog

I am trying to run /usr/local/cuda/extras/demo_suite/randomFog from CUDA demo suite over ssh -X ... connection with CUDA 10. I get an error:

Random Fog
==========

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  29
  Current serial number in output stream:  30

What am I missing? I installed openGL with sudo apt-get update && sudo apt-get install -y libglu1-mesa freeglut3 on a new V100 DGX-Station with Ubuntu 16.04. The same for other programs nbody and oceanFFT from the demo suite.

Running a GPU-accelerated OpenGL app over a remote connection requires more than just x-forwarding.

This SO answer gives an idea of what is involved:

https://stackoverflow.com/questions/30081441/how-to-run-cuda-opengl-interop-particle-sample-from-a-remote-machine/30143380#30143380