Quote Originally Posted by projectrk View Post
have the same problem installing nvidia geforce gtx 960m driver in my Dell 7559 using Kali Rolling. I did the same step indicated from the first post, still no good. I tried also installing legacy-340xx drivers from the repo, still failed. I'm stuck with "after login hang-up" issue. Please help

GPU: Nvidia Geforce GTX 960M
CPU: Intel Skylake i7-6700HQ
Laptop: Dell 7559
OSes: Ubuntu 16.04 LTS, Windows 10, Kali 2016 RC2

NVIDIA INSTALLER LOG
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Nov 22 05:28:47 2016
installer version: 375.20

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
    ./nvidia-installer
    -a

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> License accepted by command line option.
-> Installing NVIDIA driver version 375.20.
-> Performing CC sanity check with CC="/usr/bin/cc".
ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
When did this error occurs? on which step precisely?