Disable PaX for Nvidia Drivers
When using hardened gentoo kernel with PaX and SELinux...but SELinux is disable...I can not run Compiz Fusion. I get: Compiz: error while loading shared libraries: libgl.so.1: failed to map segment from object: operation not permitted". I went into X without compiz fine with no problems. Just seems to be with Compiz-Fusion. Can anyone help please? This is with Nvidia closed source drivers.
|
libGL.so.1 is a basic graphics library. Nvidia installs it's own proprietary one. Post the output of
ls -l /usr/lib(64)/libGL* |
Code:
localhost three # ls -l /usr/lib64/libGL* I should mention that I recompiled my kernel with PaX off and I am now able to get into Compiz Fusion. The output above is with the kernel having the PaX off(although I don't believe it should matter). UPDATE: Ok, I've been told that Nvidia binary drivers will not work with PaX. How can I disable it with paxctl? |
you may have to run it on a few different files but if you have paxctl installed it will be paxctl -pemrxs /path/to/file. If that works you can remove them with paxctl -PEMRSX /path/to/file and run it again then look at the logs to see what is actually stopping it and just disable the one feature with paxctl to make sure its working properly.
here is the help from paxctl so when you see something specific in the logs you can map it back to a specific feature of PAX. Code:
usage: paxctl <options> <files> |
To your libs first. I don't see libGL.so.1 which should point at opengl/nvidia/lib/libGL.so.260.19.29, presuming 260.19.29 is your nvidia version.
Quote:
|
All times are GMT -5. The time now is 05:36 PM. |