Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was in the process of trying to get my games to run by messing around with the /etc/security file as directed by nvidias site. Well now after I reboot it shows the gui login with my user but when I enter my password it just goes right back to the login. I can only work as root now. All I changed was a line that read something like dri/nvidia something or other. What now?
So basically you have experienced openGL problems with your driver, right? I am trying to get a hint of why you messed around with /etc/security/console.perms and logindevperms files. Do you remember what you changed? For future, always make a back up of system files you want to modify, it doesn't take much space, and relieves headaches afterwards.
It's pretty much a nightmare. I looked at some posts about this at quake3world and found a web site that went step by step. First it said to d/l NVIDIA_kernel-1.0-1251.tar.gz and NVIDIA_GLX-1.0-1251.tar.gz. So I did and ran them but got errors when I ran the kernel one. Then I kept getting a console error about not having permissions for my driver file. So I read the nvidia file in I think it was /usr/share/lib or something like that and I found the section with my error. So as per those instructions I edited that file. I took out one line and I'm sure I could get it back like the original file was but it doesn't make any sense. I change 1 line in the security.perms file, only having to do with a video driver, and now it won't let me back in. Whenever I get back in I'll post what opengl error I get and hopefully someone here can help me.
Ok I lied. After looking at the /etc/security/console.perms I have no idea where, or what info needs to go back in it to work. If someone was maybe kind enough to tell me where the "dri" line needs to be and what permissions are with it then I could fix it. Geez easy to break hard to fix.
Here's the error message and the steps I did to try to fix it.
Error: Could not open /dev/nvidiactl because the permissions
are too restrictive. Please see the TROUBLESHOOTING section of
/usr/share/doc/NVIDIA_GLX-1.0/README for steps to correct.
then 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,
if your system has the file
/etc/security/console.perms
then you want to edit the file and remove the line that starts with
"<dri>". If instead your system has the file
/etc/logindevperms
then you want to 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*
When I tried to kedit /etc/logindevperms there was no file so I only messed with the console.perms
And I am not sure what version of NVIDIA driver you are using( the old one or development one), according to http://www.nvidia.com
the latest stable officially release drivers for NVIDIA chipset video cards is 1.0-2313 for GLX source and 1.0-2314 for kernel source.
Thanks for helping but I got tired of it today and just wiped Linux off my hdd. I'm going to start over from scratch and this time I will remember to back up files before I change them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.