Install NVIDIA drivers in Custom Wheezy and Kali-linux
Greetings
This is my way to install NVIDIA drivers in Custom-Wheezy and Kali-linux and work always ;)
First Download the proper driver for your cart in here http://www.nvidia.com/Download/index.aspx?lang=en-us
Save it in Desktop and if you do rename it some easy to remember it. (for example NVIDIA31923.run in my case)
open the terminal and type:
Code:
apt-get install -y linux-headers-$(uname -r)
The next step is to disable the nouveau driver. Nouveau is a open source NVIDIA driver project, however it lacks the 3D graphics acceleration needed to run Cuda pentest tools.
Open terminal and type:
Code:
sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
and then:
update-grub
and when finish type:
reboot
Once the system has rebooted and you are looking at the GDM login screen, press CRTL+ALT+F1 which will be a black screen with a login prompt. We need to login as root and stop the gdm3 service as follows.
type:
Code:
service gdm3 stop
If you are on a 64-bit Kali system, you may want to install the ia32-libs package in order to allow the NVIDIA installer to install the 32-bit libraries, although this is optional. If you choose not to do it, simply select no when the installer asks if you want to install the 32-bit libraries.
type:
chmod 755 /root/Desktop/NVIDIA31923.run (The name of the driver is for example, you used to name you want)
type
sh /root/Desktop/NVIDIA31923.run
Once the installer finishes, you should reboot your machine. Once the system boots back up, you may see a NVIDIA splash screen, which will indicate that the drivers installed correctly, however, this is not always the case. In order to check if the drivers are working properly, execute the following command.
type:
Code:
glxinfo | grep -i "direct rendering"
if you see: "direct rendering: Yes" it's ok.
No Comment to " "