Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Kali 2 and nvidia drivers

  1. #11
    Junior Member
    Join Date
    Jan 2017
    Posts
    1

    Question Help please

    Quote Originally Posted by Fushikkles View Post
    Problem Solved for NVIDIA proprietary drivers (older ones at least):

    Find your specific driver at: http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk and save to Desktop.

    Commands followed:

    apt-get update
    apt-get dist-upgrade
    apt-get install -y linux-headers-$(uname -r)

    DO NOT: apt-get install nvidia-kernel-dkms (this will prevent you from installing your specific driver that is not covered in the generic nvidia package)

    Then run: sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot

    - The proprietary driver wont install without this nouveau being killed so do that now...

    Type: CTRL+ALT+F2 and at the prompt type 'init 3'. Check status with 'runlevel' command (it should say 3 or something like 5 3.

    Locate the .run/exe file on Desktop with cd \Desktop and execut with chmod u+x [file name as on desktop]

    Install should work fine now....


    The only problem now (and its bugging me a little) is that every time i install a package (whatever package) it is asking me whether i want to uninstall the driver i have installed and re-install the generic package! I always click no and i double checked with nvidia-settings (having to install it and doing the same thing with that - i.e., saying no to uninstalling my proprietary driver) which confirms that my driver is installed and recognized. It seems to work fine... but i dont understand why apt-get install [package x, y, z] would cause nvidia uninstall to initiate....

    Also, every package installs successfully despite warnings that it hasn't... pulseaudio controllers, transmission, etc... but i suspect the final warning is that the specific driver for my nvidia card wasnt uninstalled and that was all...
    So, I did everething and get error after instalation downloaded nvidia driver:

    1.jpg
    and
    2.jpg

    Can someone help me please?

  2. #12
    Junior Member
    Join Date
    Oct 2013
    Posts
    9
    Hey guys,
    This is my uname -v:
    Code:
    #1 SMP Debian 4.6.4-1kali1 (2016-07-21)
    I am following the guide and I can't continue from here:
    Code:
    root@kali:~# apt-get install -y linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package linux-headers-4.6.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64'
    Any advice how to continue?
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •