PDA

View Full Version : Installing Nvidia Drivers - Kali 1.0.9 (Kernel 3.18)



OpenFerret
2015-02-04, 20:03
Hi all,

I'm having some issues trying to get the Nvidia drivers installed on Kali for the purpose of using my GTX980 to crack WPA encryption. I've done a fresh install and updated to the 3.18 Kernel, and then utilized the guides I've found here (http://samiux.blogspot.co.uk/2014/10/howto-cuda-with-kali-linux-109.html), here (http://www.blackmoreops.com/2014/03/13/install-proprietary-nvidia-driver-kali-linux/) and here (http://docs.kali.org/general-use/install-nvidia-drivers-on-kali-linux)... But everytime I reboot Kali, GDM fails to start and I cannot get the desktop to start. My apologies if this a little bit nooby for this section, but if anyone can point me in the right direction I would be grateful.

hahotobg
2015-02-05, 16:55
I have the same problem but with "Ati" drivers... After upgrade to "3.18" i can't install the drivers...

OpenFerret
2015-02-07, 11:03
I have the same problem but with "Ati" drivers... After upgrade to "3.18" i can't install the drivers...

Unfourtunatly I'm on a bit of a deadline as this is in support of a University research paper (only under-grad, but its still marks I need). I've just gone to using Ubuntu 14.04 on my workstation and used the Nvidia CUDA .run file found here (https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx). My actual 4-way handshake capture is still being done on Kali using a Dell XPS 13 (9333), but then I've just compiled pyrit and cpyrit from source on ubuntu.

I will come back to this issue at some point when I have time, as I have a suspicious that the nvidia binaries on the Kali repo are not new enough for the Maxwell architecture on the GTX980.

OpenFerret
2015-02-07, 11:06
Not a bad card:

456

zimmaro
2015-02-07, 11:47
hi :)
if "this" can be a help/suggestion:
I have my little GTX560 ... I come from the complete package CUDA 6.5.12 (Official-nvidia (driver + cuda-toolkit [~ 900MB]) on the kernel 3:14
i've update / upgrade my kali1.09ax64 with a new-kernel-3.18
i've installed the kernel headers of 3.18
i've download && install new ONLY drivers (officiall-nvidia) 346.35 with no error && Seems to work fine!

http://www.imagestime.com/show.php/1008749_Schermatadel20150207123524.png.html

OpenFerret
2015-02-07, 20:00
hi :)
if "this" can be a help/suggestion:
I have my little GTX560 ... I come from the complete package CUDA 6.5.12 (Official-nvidia (driver + cuda-toolkit [~ 900MB]) on the kernel 3:14
i've update / upgrade my kali1.09ax64 with a new-kernel-3.18
i've installed the kernel headers of 3.18
i've download && install new ONLY drivers (officiall-nvidia) 346.35 with no error && Seems to work fine!

http://www.imagestime.com/show.php/1008749_Schermatadel20150207123524.png.html

Thanks zimmaro, I will give it a go at some point.

Many thanks!

lillypad
2015-02-20, 13:47
Please login and do the following:

If you get a black screen and cursor please login to tty1 by ctrl + alt + f1 and login as root


#Run this command
uname -r


Post your results.

If you are in 3.14 this means that currently the packages for linux-headers-3.14 have been removed from the repo as we upgrade to 3.18 so unfortunatley at this time I don't see a way of gettting nvidia drivers to work on 3.14 kernel unless you have installed them before the kernel update to 3.18 had came out. I posted a requested to the bug tracker to have this added back to the repo for everyone and it's great to see I'm not the only one as 3.18 is still quite buggy.

Unfortunately they did decline the request https://bugs.kali.org/view.php?id=2121

So backwards compatability will not be offered back to kernel 3.14 for Nvidia users unfortunately


#How this error is reproduced
1. Install Kali Linux 1.0.9a fresh
2. apt-get update
3. apt-get upgrade
4. apt-get dist-upgrade
5. reboot
#IMPORTANT: Login to new kernel from grub
6. apt-get install linux-headers-$(uname -r)
7. apt-get install nvidia-kernel-$(uname -r)
8. apt-get install nvidia-kernel-dkms
9. apt-get install nvidia-xconfig
10. nvidia-xconfig
11. reboot
12. #Login to new kernel 3.18 works fine
13. reboot
14. #Login to old kernel 3.14 black screen with cursor
15. ctrl + alt + f1 for tty1
16. #Login as root
17. apt-get install linux-headers-3.14-kali1-amd64
--ERROR--
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.14-kali1-amd64
E: Couldn't find any package by regex 'linux-headers-3.14-kali1-amd64'
--END ERROR--


If infact that you are in 3.18 when getting this error we will have to troubleshoot a little more please reply

Quest
2015-02-24, 12:54
may or may not help, but in my case, the nVidia driver won't install if the linux headers were installed. Do your updates but don't install the linux headers.