I recently updated Kali rolling to 2017.1 and fetched the latest kernel headers from the repo however after the upgrade I noticed that everything was fine except for Nvidia drivers not working(e.g. gpu not detected in hashcat). So I went ahead did some research on the matter and it turns out that Nvidia drivers don't work with newer Linux kernels(due to Realtime Preemption patches). So I decided to recompile the Linux kernel that I was on (version 4.9.25) from source and with success I managed to get the latest Nvidia drivers working, however I'm faced with one issue. I get the "oh no something has gone wrong" error with every boot. How do I get my login screen back?
Linux – “oh no something has gone wrong” error on Kali Linux 2017.1 (Nvidia Drivers)
kali-linuxlinuxnvidia-geforcenvidia-graphics-card
Best Answer
Same problem. After many hours of testing and googleing, I found XFCE as the only solution. The problem seems to be not the NVIDIA driver, but Gnome3. I tested Gnome3, LXDE and XFCE. My hardware: Intel HD Graphics 5500 + NVIDIA GeForce 840M
Then choose entry "/usr/bin/startxfce4"
For me it works fine.