Forum Home
Press F1
 
Thread ID: 53384 2005-01-16 04:01:00 Nvidia Drivers - PAM security in Fedora 3 Sam I Am (1679) Press F1
Post ID Timestamp Content User
314708 2005-01-16 04:01:00 Hey Guys,

I've just plonked a gigabyte 6800GT in my machine. I have followed the instructions here (fedoranews.org). After a bit of mucking around with xorg.conf I have got my desktop back at the size and refreshrate I want.

However (and theres always a however)

If I try to run tuxracer from console as a user I get:


[sam@localhost ~]$ tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See www.gnu.org for details.

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


So following the instructions in the readme I removed the references to dri in /etc/security/console.perms

Then
chmod 0666 /dev/nvidia*
chown root /dev/nvidia*

Tuxracer will now run using the shortcut.

Only problem is, I have to do this everytime I reboot.

Somehow somewhere I get the feelings that permissions are borked but I have no idea where.

Any ideas on how to make these changes permenant?
Sam I Am (1679)
314709 2005-01-16 04:48:00 Im not sure where the file is in Redhat/Fedora but in Gentoo its /etc/conf.d/local.start

Its run each time on boot.

AFAIK in Redhat its in /etc/rc.5/local or /etc/init.d/local

Just put that comment in there


Chill.
Chilling_Silence (9)
314710 2005-01-16 04:56:00 Sounds like you are changing permissions in the wrong file. From memory, Fedora uses the udev mechanism to list only used devices and modules. I had a look at the RedHat site and found this on permission setting on udev (fedora.redhat.com). You may need to edit permissions somewhere in /etc/udev/* vinref (6194)
314711 2005-01-16 05:06:00 If it uses uDev, then:
echo "nvidia:root:video:0666" >> /etc/udev/permissions.d/50-udev.permissions
echo "nvidia0:root:video:0666" >> /etc/udev/permissions.d/50-udev.permissions
echo "nvidiactl:root:video:0666" >> /etc/udev/permissions.d/50-udev.permissions
Chilling_Silence (9)
314712 2005-01-16 07:26:00 Well thanks for all the suggestions guys. Unfortunately none of them worked but I'll keep hammering away at it.

As a side note. 56.2 FPS in Doom3 on high settings in linux :thumbs:
Sam I Am (1679)
314713 2005-01-16 07:30:00 So putting in /etc/rc.local these lines at the end does not help?

/bin/chmod 0666 /dev/nvidia*
/bin/chown root /dev/nvidia*
Jen (38)
314714 2005-01-16 08:20:00 So putting in /etc/rc.local these lines at the end does not help?

/bin/chmod 0666 /dev/nvidia*
/bin/chown root /dev/nvidia*

Nope. But as soon as I issue these as root in a console it works fine. :illogical
Sam I Am (1679)
314715 2005-01-16 08:22:00 You cannot put those root commands in your user start-up file. It is never a good idea to have any system-wide commands in a user start-up file. Sam, you have to find the correct file to edit the permissions. That RedHat site I posted did say not to use a certain subfile of the /etc/udev directory. vinref (6194)
314716 2005-01-16 08:26:00 You cannot put those root commands in your user start-up file . It is never a good idea to have any system-wide commands in a user start-up file . Sam, you have to find the correct file to edit the permissions . That RedHat site I posted did say not to use a certain subfile of the /etc/udev directory .

I wonder if thats why its not working? Fedora wont run it as its a security risk

Yup which is the one that chill suggested . :eek:

The other suggestion I found involved copying the nvidia files to /etc/udev/devices/ and the altering the permission of that . Tried it . Didnt work . :groan:

Right about now I'm considering using the livna rpms but am erring on the side of caution as livna and freshrpms dont play well togeather .
Sam I Am (1679)
314717 2005-01-16 08:35:00 That 6800GT you bought, is that the one with the fancy heatpipe setup? If so, I advise you return it or get an after market fan for it, I was getting temperatures of over 90 degrees under load. Zygar (29)
1 2