Hello. I have long encountered such a problem - on my monitor (16: 9) it is not possible to sit with a resolution of 1024x786. The problem is that it stretches everything and as a result everything is huge (window to full screen). And in the settings I can not change the resolution, because no matching drivers. I climbed on the off. NVIDIA website and downloaded the drivers for the NVIDIA GTS 250 video card from there. Then I looked in Yandex for information on installing drivers in Linux and decided to install it here

But when you run this command

sudo sh NVIDIA-Linux-x86-290.10.run 

a program was opened in the terminal, which generated an error: ERROR:
In general, the essence of the error is that you need to exit the X Server. I pressed ctrl-alt-f1, the console came out, I entered my login and password. I registered again the line for installing the driver, but the same error occurred. What could be the problem? How to fix it. Help me please.

    3 answers 3

    Not the fact that another runlevel will help, the Xs may spin on the third, on the first they are definitely not there, but there may still be some other services missing.

    When you go to the terminal on f1 enter

     /etc/init.d/gdm stop 

    for Gnome, or kdm for kde, or lightdm for unity.

    Shl. When I last put firewood from a turnip, this is what Debian Wheezy, NVidia

    snapshot

      So you have to stop X's at all. Switching to the first text terminal, you didn’t stop X's. This may depend on the distribution, but usually it is enough to stop some service that provides the X operation (in the Mandriva, for example, /etc/init.d/dm stop) or switch to another runle (something like init 3)

      • he recently put. init 3 in the root console introduces Linux in the correct state. Then you can safely run NVIDIA-Linux-x86-290.10.run. PS tested on debian 5.0.5 and Fedora 15 | 16. - KoVadim
      • In initu 3, init 3 does not work. - skegg

      I put firewood on ubuntu for GTX285.

      First you need to install (if not installed) the build-essential package:

       sudo apt-get install build-essential 

      Next, in this way (Ctr-Alt-F {1-6}) go to the console.

      Disable X's. To do this, stop the display manager. GNOME uses gdm (at least GNOME2 did this). KDE uses kdm, and Xfce uses lightdm.

      sudo /etc/init.d/gdm stop

      Next, our task is to disable the download of the nouveau video driver. Previously, it had to be done manually. Now the NVIDIA driver itself can add the necessary information to the configs.

      Run the driver installation

       sudo sh NVIDIA-Linux-.... 

      At a certain moment, it will give an error message in English, something like this: "like, the nouveau driver is running on your system, but I can disable it, make the necessary records somewhere there." We agree. It finishes its work with an error message. Reboot

       sudo reboot 

      If the nouveau has disconnected, then the X will start up with a terrible look: huge icons, etc. We say intermediate cheers and go back to the console. There also disable X and run the driver installation. He offers to install his OpenGL libraries, agree, offers to write something down somewhere at the end, refuse. If he says that everything was fine, then either we are overloaded or we are launching X's

       cd startx 

      If something goes wrong, write, we will understand.

      PS Better install the recommended driver 275.36, I got some bug with 290.