To save your new nvidia configuration in /etc/X11/nf.
Elementary os package manager install#
You should get a message in the terminal console saying -> lightdm stopped/waitingĪnd now you can finally install the nvidia driver using a code similar to this one: sudo sh NVIDIA-Linux-x86_64.run (for Ubuntu 64bit) If you are not using lightdm as your default display manager (DM), replace lightdm with your default display manager, which can be either kdm or gdm or whatever your display manager is. To stop your display manager or the X server, you can type in the console this code: sudo stop lightdm You can use command dir to be able to see your exact driver's name. cd nvidia considering that you are already in your user home directory after you login. Go to the directory where you saved your nvidia driver using the command cd in the terminal console. Now you can reboot your computer, and when you get to the login prompt, press Ctrl+Alt+F1 to exit to the terminal console. If, by any chance, there is no nf present in /etc/modprobe.d/, you can save your file as nf when prompted.Īnd you can also disable the Kernel Nouveau by typing these lines in a terminal window: echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nf To be able to install your nvidia driver you have to remove your previous video driver with this code in a terminal window: sudo apt-get remove nvidia* & sudo apt-get autoremoveĪfter you finish with this one, you should also blacklist the nouveau driver by editing this file with either: sudo vim /etc/modprobe.d/nfĪnd add these lines at the end: blacklist nouveau