I just installed Kali Linux onto my Raspberry Pi 4 B, and everything was working fine, but the I did sudo apt update && sudo apt upgrade
in the terminal. After that when I rebooted the GUI stopped working, I tried reinstalling the desktop environment, I tried reinstalling the graphics manager, but nothing worked. I'm not sure what happened, it might be of graphic driver issues but I'm not sure. By the way, I already tried reinstalling kali, but it does the same thing when I try to upgrade.
EDIT:
It turns out it's a driver issue, in the /var/log/Xorg.0.log
file, the log says the /dev/dri/card0
file doesn't exist. Not really sure what to do.