



You can stop the X server by stopping gdm systemctl stop gdm. We need to stop the X server so we can run the Nvidia installer. If you have installed nvidia-kernel-dkms earlier, remove it and all nvidia packages by apt-get remove nvidia* -purge Where -r means install all recommended packages as well.

Install the Linux headers: apt-get update & apt-get upgrade -y & apt-get dist-upgrade -yĪptitude -r install linux-headers-$(uname -r) lspci | grep -E "VGA|3D"Ġ0:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)Ġ2:00.0 3D controller: NVIDIA Corporation GM107M (rev a2) Install Nvidia driver in kali Linux kernel 4.9.0-kali4-amd64Ĭheck if you have multiple graphics available.
