Skip navigation.
Home
Now Shipping Version 7.0

Could not open /dev/nvidiactl because the permissions...


Posts: 21

I am trying to run an OpenGL application that is giving me this error:

Quote:
Could not open /dev/nvidiactl because the permissions
are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.

I found documentation online indicating that the error is due to a bug in a security program (PAX?) which is incorrectly changing permissions to /dev/nvidiactl. However, its instructions did not work on Mepis. Alternatively, I have tried to add my user to the video (and audio) groups (via usermod -G video -a username). However, this apparrently doesn't stick as the system keeps (I think) changing permissions to /dev/nvidiactl again so my user cannot use it.

I'm looking for a long term solution here. Having to log in as root and run chmod 0666 /dev/nvidia* every time I want to run the game is not a viable solution.

Note: If I run the project as root, it works fine.