When trying to launch an application within a vncserver Session which needs OpenGL the application crashes.

Possible Workaround

Set the environment variable LIBGL_ALWAYS_INDIRECT to yes as followed.

Open a shell and type:

$ setenv LIBGL_ALWAYS_INDIRECT yes       (for 'tcsh')

$ export LIBGL_ALWAYS_INDIRECT=yes       (for 'bash')

After that start your application in the shell as usual:

$ <application>

What does LIBGL_ALWAYS_INDIRECT do? See: and


FAQ/RemoteApplicationsAndOpenGL (last edited 2013-09-09 14:16:53 by alders)