User Tools

Site Tools


wiki:development:glx-xlib-workaround

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:development:glx-xlib-workaround [2020/08/20 21:39]
uli42 [Wrappers]
wiki:development:glx-xlib-workaround [2021/10/21 06:42]
uli42 [Usage] rephrase, fix typos
Line 34: Line 34:
 <code> <code>
 #!/bin/sh #!/bin/sh
-LD_PRELOAD=<your directory>/libgl-xlib/libGL.so exec "$@"+LD_PRELOAD=<your directory>/libgl-xlib/libGL.so.1 exec "$@"
 </code> </code>
  
Line 64: Line 64:
 Instead of creating the scripts mentioned above you can also add this to your .bashrc (or the config of your favourite shell): Instead of creating the scripts mentioned above you can also add this to your .bashrc (or the config of your favourite shell):
 <code> <code>
-export LD_LIBRARY_PATH=<your director>:${LD_LIBRARY_PATH}+export LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH}
 </code> </code>
  
Line 70: Line 70:
 Now you can use one of these created wrapper scripts to run your application: ''x2goglx <your application>''. Some apps modify ''LD_LIBRARY_PATH'' so the ''x2goglx'' could have no effect. In that case try ''x2goglx2''. Now you can use one of these created wrapper scripts to run your application: ''x2goglx <your application>''. Some apps modify ''LD_LIBRARY_PATH'' so the ''x2goglx'' could have no effect. In that case try ''x2goglx2''.
  
-If you still cannot succeed you can try to find your if your application needs some special treatment. If so, please add the solution to the end of this page or post it to the mailinglist for some to add it.+If you still cannot succeed you need to elaborate if your application needs some special treatment. If so, please add the solution to the end of this page or post it to the mailinglist for someone to add it here.
  
  
wiki/development/glx-xlib-workaround.txt ยท Last modified: 2021/10/25 21:01 by uli42