The following worked on my very old hp dv6500 laptop. Haven't yet tested it on any other type of laptop/computer. I don't know if it would work on any other computer, so Do It At Your Own Risk.
If you have any suggestions, please tell me so that i can make this even better. I'm a n00b when it comes to linux.
I used this technique because I didn't have 1,097 MB to spare if I had updated my kali linux system.
However, the best way of installing nvidia can be found on the following link below.
http://docs.kali.org/general-use/ins...-on-kali-linux
The following tutorial is a mixture of what I learnt from kali linux documentation, and my own experience of installing nvidia in ubuntu.
You need to download the latest version of nvidia drivers from their site: You will have to know the model of your nvidia driver. My model is 8400M GS.
http://www.nvidia.com/Download/index.aspx?lang=en-us
Kali linux uses a graphics driver called nouveau, which comes in debian by default. You need to block it so as to install nvidia graphics driver.
Code:
sed*'s/quiet/quiet nouveau.modeset=0/g'*-i*/etc/default/grub
update-grub
Secondly, we can blacklist nouveau manually by adding the following to /etc/modprobe.d/kali-blacklist.conf
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
Thirdly, uninstall any previous nvidia drivers, just incase you have any in your system.
root@kali:~# sudo apt-get --purge remove nvidia-*
Once saved, you'll need to stop gdm3 so as to be able to install the driver. From here, you'll use commands to get to the nvidia driver.
Then press Ctrl-Alt-F1 to enter your username and enter your password. Go to the folder that contains the nvidia driver, and run the following command .
sh NVIDIA-Linux-x86-331.49.run
(depending with which version you got.)
From there, just follow the instructions given by the program.
Once you have finished installing, type