You are not logged in.

#1 2005-04-19 15:44:02

Meshuggin
Member
From: /home/meshuggin
Registered: 2005-03-23
Posts: 137

xscreensaver issues

Hi, when I try to activate a screensaver that uses OpenGL, it shows a message that indicates that I have not the necessary permissions to execute it.
/dev/nvidia0 and /dev/nvidiactl are the problem ... when I change the permissions to 0666 on both everything is fine, but when I reboot, it's all the same problem.

I have to modify something here? /etc/udev/permissions.d/udev.permissions  ... "nvidia" is set to 0666:

nvidia*:root:users:0666

Also, I belong to the "video" group

Thanxs


Arch GNU/Linux 0.7.1 (Noodle)
Linux 2.6.14-archck1

Offline

#2 2005-04-19 20:00:02

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

Re: xscreensaver issues

2 options:

1. remove suid on /usr/bin/xscreensaver

2. or add
KERNEL="nvidia*", GROUP="video", MODE"0666"
to /etc/udev/rules.d/00.rules

http://bbs.archlinux.org/viewtopic.php?t=11490

Offline

#3 2005-05-15 06:58:06

KENTOSI
Member
From: Sydney, Australia
Registered: 2005-02-27
Posts: 69
Website

Re: xscreensaver issues

Thanks mico that worked.

By the way, I'm using ArchLinux 0.7 and the file is actually:
/etc/udev/rules.d/udev.rules


~gautam

Offline

#4 2005-05-15 07:17:38

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: xscreensaver issues

OK - mico is suggesting using a custom rules file - .rules are read alphabetically so prefixing one with 00 guarantees it is read first

Meshuggin - udev.permissions is no longer used - permissions are now set in .rules files

Judd wrote:

The latest version of udev has some upstream changes in the configuration layout.

Permissions and user/group ownership are no longer defined in separate files -- instead they are specified within the rules file itself. Look at /etc/udev/rules.d/udev.rules for examples.

This means that any custom permissions need to be moved into a rules file like /etc/udev/rules.d/udev.rules or /etc/udev/rules.d/00-my.rules.

See the udev(8) manpage for more information on writing rules.

smile

Offline

Board footer

Powered by FluxBB