View Single Post
Old 04-06-05, 10:57 PM   #1
Registered User
Join Date: Apr 2005
Posts: 1
Default chmod 0666 /dev/nvidia* chown root /dev/nvidia*

I followed what the readme file says:
Step 1: edit /etc/initab file to boot to a vga console.
Step 2: "sh"
Step 3: install
Step 4: Edit X config file, replace the line: Driver "nv" with Driver "nvidia"
In the Module section, make sure you have: Load "glx"
You should also remove the following lines: Load "dri" Load "GLcore"

After install, I run an opengl app and get

"Error: 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 queryed the readme file, and edit "/etc/security/console.perms" and remove the line that starts with "<dri>".

Then the readme file says:
"Next, you will need to reset the permissions on the device files back to their original permissions and owner.
You can do that with the following commands:
chmod 0666 /dev/nvidia* chown root /dev/nvidia*

But when I typed "chmod 0666 /dev/nvidia* chown root /dev/nvidia*",
the console said that it can not find "chown" and "root" directories.
What "chown" and "root" mean?

After restarting my OS, then only the root can run opengl app, and others can not and show above error message.

How can I repair this situation, thanks.
ylzhao is offline   Reply With Quote