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.
First I have a nvidia graphics card gtx 460 v2. I installed the nvidia-settings Configuration Tool for nVidia GPUs. When I try to use this program I get an error message; it reads:
"You do not appear to be using the NVIDIA X driver.Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."
My question is how do I do this?
Thank you
Jonnynitro138
Last edited by jonnynitro138; 10-05-2012 at 07:34 AM.
Are you running it as root? You have to run it as root for it to work right. You also have to have the nvidia driver installed and activated, just installing nvidia-settings won't do that.
I don't think that I am running it as root all I did was: "zypper install x11-video-nvidia" (for the driver), and then: 'Configuration Tool for nVidia GPUs' through the apper. This is all that I know what to do if I am missing something a step or 6 all help would be greatly appreciated.
Thank you
Jonnynitro138
How do I run the config. tool ass root? I only know how to access the 'nvidia settings' through the Kick Off Application Launcher, I just type "nvidia" in the search bar then select 'nvidia setting', and thats when I get the message, "You do not appear to be using the NVIDIA X driver.Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."
Thank you
Jonnynitro138
Sorry I'm a super newbie at this.
OK mate, I'm assuming you knew what you were doing when you installed the nvidia drivers and you have actually installed it. do the following.
Code:
open yast.
go down and select 'system services'.
in the new window, at the top select 'expert mode'
the window has now changed the content and just below expert mode where you just clicked, you can change your 'default runlevel' change it to number '3'.
reboot.
you will boot into the command line. login, su to root and run the following command.
nvidia-xconfig
if you can't such to root, it means on the install you went with the default and use sudo instead, if this is the case, don't worry about su to root. instead once you've logged in, just initiate the following.
sudo nvidia-xconfig
once that has all been done type yast under root (su) or if you use sudo;
sudo yast
you will be in the n cursers mode of yast. once again
press down twice to go to 'system' and enter.
go down eight times to 'system services' enter.
press tab 8 times to get to highlight expert mode, enter.
press tab 17 times to highlight the run level, enter.
press down and a little window will display, highlight option '5' enter.
press f10
press f9
run the appropriate command below depending if you use sudo or not.
reboot
sudo reboot
I hope I've helped, sorry bout me strange use of code tags, I'm typing off my phone which I don't normally.
First thank you.
I made a print out of what you advised me to do so I wouldn't get lost, sucks when that happens. I made into root and typed 'nvidia-xconfig' then enter. I recieved the message: "If 'nvidia-xconfig' is not a typo you can use command-not-found to look up the package that contains it, like this: cnf nvidia-xconfig" so I did and I recieved the following message: "nvidia-xconfig: command not found"
(I wasn't sure how to write this display so I put everything in quotations that was on my screen.)
On a good note, my opening suse screen no longer has lines in it so that I can see the materializing globe before the log in screen , thank you.
Jonnynitro138
Oh, the directions were very easy to follow
Ok, well Opensuse does not have the Nvidia drivers in there official repository.
Before you add it i recomend you have everything up to date.
Firstly, if this is a new install; Opensuse installs only parts of meta packages from the dvd. eg if you are running kde, right click desktop, go to desktop settings and you will notice you have only two wallpapers. Once you connect to a network, open Yast, go into software management and once the repos are refreshed, just click accept, and let it install the rest of the meta packages. After it's done i recommend a reboot.
Once you're systems running again, open a terminal and run the following command.
Code:
sudo zypper up
This is to update. In Opensuse after a update, to restart all the programs and services i just do a reboot, i think it's easier, so reboot once the updates are done. If there was updates, after the reboot, i always open up the terminal and do a 'sudo zypper up' again, just to make sure it got them all (It doesn't always for some reason), and repeat until there's no more updates.
Here's how to install the Nvidia driver.
Open Yast.
Go to 'Software Repositories'.
At the bottom, select, 'add'.
Now you've a bunch of different options on how you want to add a repo. Select 'Community Repositories' and then click next.
You will now see the most popular repos made available with the Openbuild service. You want to tick the nVidia Graphics Driver repo and click add.
Once this has been done, while still in Yast, open 'Software management'. In the search bar type 'Nvidia' you will notice some packages are already ticked and about to be installed, that is because Opensuse as detected your graphics card and auto selected the appropriate drivers for you. click accept and once everything is installed do a reboot. Once you're system is running again, try to access the nvidia-settings Configuration Tool again and if you get an error again, do the instructions i gave you in my first post again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.