LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-25-2004, 02:04 PM   #1
sirbrett
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 10
Posts: 3

Rep: Reputation: 0
Open gl programs quit, nvidia driver "permissions are too restrictive."


i am running slackware 10, just switched from mandrake so im a noob. i got the nvidia driver to install without a problem but everytime i try to open a opengl program it exits with the following error:

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 did look in the README file and it says to:

It is likely that a security module for the PAM system may be
changing the permissions on the NVIDIA device files. In most cases
this security system works, but it can get confused. To correct this
problem it is recommended that you disable this security feature.
Different Linux distributions have different files to control this;
please consult with your distributor for the correct method of
disabling this security feature. As an example, if your system has
the file
/etc/security/console.perms
then you should edit the file and remove the line that starts with
"<dri>" (we have also received reports that additional references to
<dri> in console.perms must be removed, but this has not been verified
by NVIDIA). If instead your system has the file
/etc/logindevperms
then you should edit the file and remove the line that lists
/dev/nvidiactl. The above steps will prevent the PAM security system
from modifying the permissions on the NVIDIA device files. 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*


i had to do this in mandrake to get my nvidia driver to work, but in slackware i dont have either a /etc/security/console.perms or a /etc/logindevperms file. if i do the chmod 0666 /dev/nvidia* chown root /dev/nvidia* my opengl programs work fine, but i would like to figure it out so that i dont have to do that everytime i reboot my machine. what file do i need to alter to fix this? thanks in advance!
-brett
 
Old 10-26-2004, 10:29 AM   #2
Clojster
Member
 
Registered: Feb 2004
Distribution: Debian Sarge
Posts: 39

Rep: Reputation: 15
that is weird because I had the same problem but I have the file /etc/security/console.perms as they said. I'm using Slackware 10 too... try to go to Slackware-current now with slapt-get. This corrected some problems with nVidia card for me.
 
Old 10-26-2004, 12:50 PM   #3
George666
Member
 
Registered: Nov 2003
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
Do you have the file /etc/udev/permissions.d/udev.permissions ?

In that file there is a line :

nvidia*:root:video:0660

This means that the permissions for all nvidia devices are 0660, now to have access to the nvidia devices you can do 2 things :

- change 0660 to 0666
- add your user to the video group (you can do that with KUser)
 
Old 10-26-2004, 02:25 PM   #4
sirbrett
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 10
Posts: 3

Original Poster
Rep: Reputation: 0
awesome!! udev.permissions fixed it! thanks! i didnt know about slapt-get, this program looks freakin awesome! thanks for everyones help!
-brett
 
Old 10-26-2004, 09:48 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Remember that if you upgrade X you'll have to make a change to your xorg.conf file (or create a new one). Here: ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt you can see what's changing in current. Oh, and try to avoid upgrading ALSA, it will break because it's compiled for a new kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another 'extension "GLX" missing on display' nvidia driver problem compjinx Linux - Software 5 10-27-2004 01:56 AM
help: cdrecord does not work due to "Cannot open SCSI driver" parv Linux - Software 2 09-21-2004 09:54 PM
USB external CD-RW: cdrecord "cannot open SCSI driver" Avatar Linux - Hardware 10 04-07-2004 12:00 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM
NVIDIA driver error: "Card0" isn't valid for this driver" drenal Linux - Hardware 1 01-28-2004 10:02 PM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration