summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--85rescue-library-path3
1 files changed, 3 insertions, 0 deletions
diff --git a/85rescue-library-path b/85rescue-library-path
index 0748f7e..b7b5ead 100644
--- a/85rescue-library-path
+++ b/85rescue-library-path
@@ -1,5 +1,8 @@
# Add this to /etc/X11/Xsession.d so that LD_LIBRARY_PATH settings are
# rescued even in the face of starting setuid executables (i.e. ssh-agent).
+#
+# Without this, Compiz and other OpenGL apps won't use the right libGL.so,
+# and other hilarity ensues.
unset LIBGL_DRIVERS_PATH
STARTUP="/usr/bin/env LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ${STARTUP}"