Install NVIDIA Drivers and CUDA Toolkit on Kali Linux Purple - GPU installation in Kali Linux

preview_player
Показать описание
This video explains how to install NVIDIA GPU drivers and CUDA support, allowing integration with popular penetration testing tools. We will not be using nouveau, being the open-source driver for NVIDIA, instead we will installing the close-source from NVIDIA.

This will cover a dedicated card (desktops users) and optimus (laptops and notebook users).

We recommend that you do not attempt this in a Virtual Machine. It is possible, however its not straight forward, and should only be done if you have a deep understanding of Linux. It is not covered in this guide, as there are too many items to cover for everyone’s environment and setup.

Commands :
sudo apt update
lspci | grep -i vga
lspci -s 07:00.0 -v
sudo apt install -y nvidia-detect
nvidia-detect
sudo apt install -y nvidia-driver nvidia-cuda-toolkit
sudo reboot -f
nvidia-smi
lspci | grep -i vga
lspci -s 07:00.0 -v

Join this channel to get access to perks:

nvidia kali linux - nvidia driver for kali linux 2020. installing nvidia gpu drivers on kali linux. how to install kali linux on windows 10 | wifi + gpu working!
how to install nvidia drivers in kali linux | navnish rnna | #kalilinuxpurple#kalilinux.

kali linux - how to install nvidia driver, nvidia cuda toolkit on kali linux. how to install nvidia graphics driver in kali linux. how to install nvidia driver on kali linux 2021 1 & play quake 3.
install nvidia video card in kali linux.
Рекомендации по теме
Комментарии
Автор

I finally found and fixed my Linux. The NVIDIA driver installed successfully without needing "nvidia-detect."

🖥 Connect your monitor with HDMI cable to your GPU.

1. Find "contrib non-free" in your sources list:

grep "contrib non-free" /etc/apt/sources.list

2. Update your package list:

sudo apt update

3. Upgrade all installed packages:

sudo apt -y full-upgrade

4. Install Linux headers for your kernel:

sudo apt install linux-headers-$(uname -r) -y

5. Reboot if necessary after updates:

[ -f /var/run/reboot-required ] && sudo reboot -f

6. Check your VGA compatible controller:

lspci | grep -i vga

In my case:

01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070 Lite Hash Rate] (rev a1)

7. View detailed info about your GPU:

lspci -s 01:00.0 -v

8. Install AMD64 headers:

sudo apt install -y linux-headers-amd64

9. Install NVIDIA drivers and CUDA toolkit:

sudo apt install -y nvidia-driver nvidia-cuda-toolkit

10. Reboot your system:

sudo reboot -f

My terminal looks like this (kalihunterbrimstone)-[~]. After a reboot, my "brimstone" user is missing, causing a login loop. To fix this, switch to the terminal with CTRL + ALT + F3, log in with your "kalihunter" user, and then:

1. Reconfigure LightDM (install if needed):

dpkg-reconfigure lightdm

2. Edit LightDM configuration:

sudo nano /etc/lightdm/lightdm.conf

Add and save:

[Seat:*]
autologin-user=kalihunter
autologin-user-timeout=0



3. Reboot again:

sudo reboot

4. Log in with your configured user, and your NVIDIA driver should be installed successfully.

kowshiknaim
Автор

After reboot I am only getting the terminal. Not getting anything graphical.😢

volteel
Автор

Everything is fine but Kali start lagging, what to do now?

vivekanand
Автор

I'm using dual boot operating system windows 11 and Kali
I interface a problem when I shutdown my laptop from Kali Linux then Kali Linux not shutdown 😭😭 showing Kali Linux logo please help me

rizwanrahaman
Автор

Keeps coming up saying Nvidia-smi has failed because it couldn't communicate with the NVIDIA driver. make sure the driver is installed blah blah.

I've never got it past this point. Still using the nouveau kernel driver but the Kernel modules are Nvidia

How do I fix this?

gUm_bY
Автор

Атлична!!! Атлична!!!! ВЫпью стакан водки за здоровье, товарищ!!!

tcfrfwh
Автор

Don't know what happened but after restart it never loaded. Just a black screen for 12 hours. Backups no longer worked either.

hulkgqnissanpatrol
Автор

Bro my 😢😢 kali not open .. My data lost 😢 what i do only logo show. Black screen

rorokaka
Автор

Don't install sudo apt install -y nvidia-detect!!! It broke the KaliOS!!!

MrSstar
Автор

thi is my result (NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
) what to do??😔

dilanfarhad
Автор

can we add the nvidia gpu in the kali linux of vmware workstation pro virtual machine

krishnateja