733
Comment:
|
658
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
$ echo $SHELL }}} |
$ setenv LIBGL_ALWAYS_INDIRECT yes (for 'tcsh') |
Line 15: | Line 14: |
To determine what shell you are using. Then: {{{ |
|
Line 19: | Line 15: |
$ setenv LIBGL_ALWAYS_INDIRECT yes (for 'tcsh') |
Problem
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: http://unix.stackexchange.com/questions/1437/what-does-libgl-always-indirect-1-actually-do and http://www.mesa3d.org/envvars.html