Click to See Complete Forum and Search --> : nvidia, opengl and fedora core 3


pressman57
01-16-2005, 09:02 PM
Hi all

I managed to get the nvidia driver installed, got this message launching tuxracer:

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

I saw the faq, followed the instructions to make things right and all was well until I reboot, startx as a user (in runlevel 3 or 5) and get the same error message.

ls -l /dev/nvidiactl shows
crw-rw---- 1 root root 195, 255 Jan 16 13:06 /dev/nvidiactl

which is what it was before I did chmod 0666 /dev/nvidia* as per the instructions. If I do the chmod command again (as root) all is well again until I reboot.

Something is obviously changing the permission of /dev/nvidiactl. Is it security software of some kind?

bsm2001
01-16-2005, 09:28 PM
check /etc/security/console.perms should look something simular to this
# /etc/security/console.perms
#
# This file determines the permissions that will be given to priviledged
# users of the console at login time, and the permissions to which to
# revert when the users log out.

# format is:
# <class>=list of regexps specifying consoles or globs specifying files
# file-glob|<class> perm dev-regex|<dev-class> \
# revert-mode revert-owner[.revert-group]
# the revert-mode, revert-owner, and revert-group are optional, and default
# to 0600, root, and root, respectively.
#
# For more information:
# man 5 console.perms

# file classes -- these are regular expressions
<console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
<xconsole>=:[0-9]\.[0-9] :[0-9]

# device classes -- these are shell-style globs
<serial>=/dev/ttyS* /dev/rfcomm* /dev/ircomm*
<floppy>=/dev/fd[0-1]* \
/dev/floppy/* /mnt/floppy*
<sound>=/dev/dsp* /dev/audio* /dev/midi* \
/dev/mixer* /dev/sequencer* \
/dev/sound/* /dev/snd/* /dev/beep \
/dev/admm* \
/dev/adsp* /dev/aload* /dev/amidi* /dev/dmfm* \
/dev/dmmidi* /dev/sndstat
<cdrom>=/dev/cdrom* /dev/rdvd /dev/ide/*/*/*/*/cd /dev/scsi/*/*/*/*/cd /dev/sr*
<pilot>=/dev/pilot
<jaz>=/mnt/jaz*
<zip>=/mnt/pocketzip* /mnt/zip*
<ls120>=/dev/ls120 /mnt/ls120*
<scanner>=/dev/scanner /dev/usb/scanner* /dev/parport*
<rio500>=/dev/usb/rio500
<camera>=/mnt/camera* /dev/usb/dc2xx* /dev/usb/mdc800* /dev/raw1394
<memstick>=/mnt/memstick*
<flash>=/mnt/flash*
<diskonkey>=/mnt/diskonkey*
<rem_ide>=/mnt/microdrive*
<fb>=/dev/fb /dev/fb[0-9]* \
/dev/fb/*
<kbd>=/dev/kbd
<joystick>=/dev/js[0-9]* /dev/input/js[0-9]*
<misc>=/dev/nvram
<v4l>=/dev/video* /dev/radio* /dev/winradio* /dev/vtx* /dev/vbi* \
/dev/video/* /dev/vttuner /dev/rtc
<gpm>=/dev/gpmctl
<dri>=/dev/nvidia* /dev/3dfx* /dev/dri/card*
<mainboard>=/dev/apm_bios
<burner>=/dev/scd* /dev/sg* /dev/pcd* /dev/pg* /dev/cdwriter /dev/scsi/*/*/*/*/generic
<usb>=/dev/usb/dabusb* /dev/usb/mdc800* /dev/usb/rio500 /dev/ttyUSB* \
/proc/bus/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9]

# permission definitions
<console> 0600 <fb> 0600 root
<console> 0600 <joystick> 0600 root
<console> 0600 <kbd> 0600 root
<console> 0600 <mainboard> 0600 root
<console> 0660 <pilot> 0660 root.uucp
<console> 0660 <sound> 0660 root.audio
<console> 0400 <misc> 0600 root
<console> 0660 <burner> 0660 root.cdwriter
<console> 0660 <camera> 0660 root.usb
<console> 0660 <cdrom> 0660 root.cdrom
<console> 0660 <diskonkey> 0660 root.disk
<console> 0660 <flash> 0660 root.disk
<console> 0660 <floppy> 0660 root.floppy
<console> 0660 <jaz> 0660 root.disk
<console> 0660 <ls120> 0660 root.disk
<console> 0660 <memstick> 0660 root.disk
<console> 0660 <rem_ide> 0660 root.disk
<console> 0660 <scanner> 0660 root.usb
<console> 0660 <serial> 0660 root.uucp
<console> 0660 <usb> 0660 root.usb
<console> 0660 <v4l> 0660 root.video
<console> 0660 <zip> 0660 root.disk
<console> 0700 <gpm> 0700 root

<console> 0600 /dev/console 0600 root.root
<console> 0660 <dri> 0660 root.video

pressman57
01-16-2005, 10:06 PM
Thanks for sending me the file. I simply replaced /etc/security/console.perms with the one you provided, rebooted and hoped for the best and it worked.

Thanks again

bsm2001
01-16-2005, 10:12 PM
Hope you made a backup because I use MDK not FC. but glad it worked.

pressman57
01-16-2005, 10:14 PM
Yep, I made a backup for sure. I'm sure doom and disaster loom over the horizon because I'm using it but so far so good...