Install Proprietary NVIDIA Driver On Kali Linux

0、update kali linux before install

apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

1、Install Linux headers

aptitude -r install linux-headers-$(uname -r)

2、Install NVIDIA Kernel

apt-get install nvidia-kernel-$(uname -r)

3、Install NVIDIA Driver Kernel DKMS

aptitude install nvidia-kernel-dkms

4、Install xconfig NVIDIA driver application

aptitude install nvidia-xconfig

5、Generate Xorg server configuration file

nvidia-xconfig

6、Confirming your installation 

glxinfo | grep -i "direct rendering"

if there is no output , please try the following cmd:

aptitude install mesa-utils

lsmod | grep nvidia

7、Reboot

reboot

More Info.

你可能感兴趣的:(linux,nVidia)