nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   chmod 0666 /dev/nvidia* chown root /dev/nvidia* (http://www.nvnews.net/vbulletin/showthread.php?t=48808)

ylzhao 04-06-05 10:57 PM

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 NVIDIA-Linux-x86-1.0-7174-pkg1.run"
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.

cheekster 04-06-05 11:01 PM

Re: chmod 0666 /dev/nvidia* chown root /dev/nvidia*
 
The readme file is slightly misleading.

It should read as two separate commands;

chmod 0666 /dev/nvidia*

chown root /dev/nvidia*

Hope this works for you

silentplummet 04-07-05 01:12 AM

Re: chmod 0666 /dev/nvidia* chown root /dev/nvidia*
 
What "chown" and "root" mean?

"chown" is the UNIX command for changing the "owner" of the file. The first octal in the permissions number gives the permissions of the user or UID (user ID) set as "owner".

Compare to "chgrp", which sets the "group" the file belongs to.

"root" is the all-powerful God-user of UNIX systems. It is akin to the Administrator user on modern Windows systems. It has a UID of 0 and a GID of 0.

danieljh 04-07-05 08:35 AM

Re: chmod 0666 /dev/nvidia* chown root /dev/nvidia*
 
If you have problems with this changing back on you. You may be able to edit /etc/udev/permissions.d/50-udev.permissions (Suse 9.2) so that the nvidia lines look like this:

nvidia*:root:video:666
nvidia0*:root:video:666
nvidiactl*:root:video:666

This has stopped many a headache for me.


All times are GMT -5. The time now is 07:50 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.