Okay so this is driving me crazy. I need help.
I have a Kali linux machine set up with VirtualBox which has been working fine until two days ago. Then, it started doing a super weird thing when I log in: I enter my credentials, then login screen dissapears (desktop background still visible), then the screen "blinks" and goes dark. If I want to use the machine I have to enter tty.
The weird thing is that when I reboot the computer with the tty the machine doesn't do that, it logs me as it should.
I've tried all kind of things, changing lightdm (slim, gdm), checking drivers, checking X11... Thank you in advance.
EDIT: Reinstalled Kali with a new iso (2021.1), started using it, 2 days later same problem in the new one :(
Update: So far, tried in the new machine to change lightdm to dgm3 and it worked...the first time. The following bootups made the machine freeze without even login in.