I get a black screen after login on ubuntu 18.04. I saw a lot of questions and "solutions" on the web but no one worked for me. By doing ctrl + alt + F2,
I tried:
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y
sudo reboot
and I also tried to reinstall ubuntu-desktop:
sudo apt-get install ubuntu-desktop
sudo apt-get update
sudo apt-get upgrade
No one of this solution worked. I also tried to configure my VM by increase video memory. I also try solutions here: ubuntu 18.04 Black screen after login .
I launch ubuntu on Virtual Box 6.1. My OS is Windows 10.
This problem seems to appear randomly. I install my VM. I work with it. I shutdown it. I re-work with it, I shutdown it. And then, black screen after login.
How can I fixed it?
EDIT
I already asked on stackoverflow, but I move the question here after some advices. I will close it on stackoverflow.