Kali Linux 1.1.0 kernel 3.18 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver

by blackMOREOps
65 comments

Step 1: Install Linux headers

Install Linux headers as those will be required to build NVIDIA Driver modules.

root@kali:~# aptitude -r install linux-headers-$(uname -r)

Where -r means install all recommended packages as well.

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 2

Step 2: Install NVIDIA Kernel

Next I installed NVIDIA Kernel

root@kali:~# apt-get install nvidia-kernel-$(uname -r)

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 3

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:

root@kali:~# aptitude install nvidia-kernel-dkms

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 4

While installing you get two popups where you select OK

First one tell you there’s a conflict (well of course, there’s a conflict, you have nouveau installed now and replacing it with Proprietary NVIDIA Driver). So we press OK on this popup.

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 5

The second popup tell you that you dont have a xorg.conf file in /etc/X11/ folder. . Yeap, we will fix that soon. Press OK .

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 6

Press OK on both popups.

Step 4: Install xconfig NVIDIA driver application

Now we need a xorg.conf file in /etc/X11/ folder. The easiest way to do that is by installing nvidia-xconfig package.

Use the following command:

root@kali:~# aptitude install nvidia-xconfig

This will install Xconfig package which then generates a xorg.conf file in /etc/X11/ folder.

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 7

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.

root@kali:~# nvidia-xconfig

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE Ops - 8

It will rename any existing xorg.conf file and create a new one. On in there wasn’t a per-exisiting xorg.conf file it will just create a brand new one.

Note: If this was a fresh Kali installation, you will see WARNING: Unable to locate/open X configuration file.

This is good as that means your installation will work fine now.

Now as directed by NVIDIA driver nvidia-kernel-dkms, reboot your machine to complete installation.

root@kali:~# reboot

You may also like

65 comments

Rajat January 21, 2016 - 5:47 pm

I have kali 2.0. After generating xorg.conf I got a black screen. Using the troubleshooting steps given above now I get a white screen which says ” the system was unable to recover. Please log out and reboot again.”
What should I do now?

Reply
Octavio January 24, 2016 - 4:14 pm

Me too

Reply
JBalduf December 17, 2016 - 3:28 pm

pyrit benchmark
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Running benchmark (374187.3 PMKs/s)… –

Computed 374187.27 PMKs/s total.
#1: ‘CUDA-Device #1 ‘GeForce GTX 1080”: 188548.9 PMKs/s (RTT 0.3)
#2: ‘CUDA-Device #2 ‘GeForce GTX 980”: 124221.0 PMKs/s (RTT 0.4)
#3: ‘CUDA-Device #3 ‘GeForce GTX 1080”: 183299.9 PMKs/s (RTT 0.3)

Reply
1 2 3

Leave your solution or comment to help others. Comment don't need registration or real email, so feel free.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About Us

blackMORE Ops - touch-icon-72x72

blackMORE Ops” does not promote, encourages and excite hackers, its purpose is to make people aware that what is going around. Know Hacking but No Hacking!

Feature Posts

Newsletter