D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] OpenGL screensavers, xscreensaver and restrictive permissions

 

This might of use to somebody as Googling around shows
it's been a problem. If it's wrong then please shoot me down.

I installed Gnome-desktop on my Debian (testing) system. It didn't
go well so I removed Gnome and re-installed it. Everything seemed
OK at first but I noticed later that the OpenGL screensavers were
no longer working. No problem for some people but it bugged me.

As root the OpenGL screensavers ran Ok but when I tried running
xscreensaver-demo from a user console it failed with a "can't open
/dev/nvidiact1 permissions to restrictive" complaint and advised reading the NVIDIA_GLX README. This suggested that PAM was
changing the permissions on the /dev/nvidia* files and I should
look into the /etc/security/console.perms or
/etc/logindevperms files.


Neither of these files existed on my system so I looked in /etc/pam.d
and compared kscreensaver with xscreensaver.
kscreensaver contained:
@include common-auth
@include common-account
@include common-password
@include common-session

whereas xscreensaver contained:
@include common-auth

As kscreensaver ran it's own screensavers without problem  I
added the missing lines to xscreensaver. Lo! the OpenGL
screensavers are now functioning from either a user desktop or
console.

As I said earlier I hope this of use to somebody or if I have
committed a cardinal error please correct me.

Keith

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.