|
|
#1 | |
|
Registered User
Join Date: Apr 2005
Posts: 1
|
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. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: May 2004
Posts: 10
|
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 |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2004
Posts: 94
|
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. |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: May 2004
Posts: 11
|
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. |
|
|
|
|
![]() |
| Thread Tools | |
|
|