Step 3: Install NVIDIA Driver Kernel DKMS
We’re almost ready. You can now install new NVIDIA driver
nvidia-kernel-dkms by using the following command:
aptitude install nvidia-kernel-dkms
Including dependencies, this is about 24MB is size, depending on how fast Kali repo is working, you might have to wait few minutes. You will get 2 popups, the first one about rebooting after you’ve installed NVIDIA driver
nvidia-kernel-dkms that it will disable open source NVIDIA driver
nouveau and the second one about
xorg.conf file in
OK on both popups.
Step 4: Install xconfig NVIDIA driver application
If you go through the NVIDIA driver README document, you will see you need to create new XORG server configuration file
xorg.conf or modify existing
xorg.conf to tell it to load NVIDIA Driver module.
nvidia-xconfig package make this task quite easier. All you need to do is to install and execute it.
aptitude install nvidia-xconfig
Step 5: Generate Xorg server configuration file
Now that we have installed
nvidia-xconfig package, issue the following command to generate Xorg server configuration file.
It will rename any existing
xorg.conf file and create a new one. As directed by NVIDIA driver
nvidia-kernel-dkms, reboot your machine to complete installation.