I have an Lubuntu 18.04 VM that I use for development on my Windows 10 machine. The Lubuntu virtual machine is running on a VirtualBox (version 6.1.62), and with the VirtualBox Addon Tools installed.
Every time I upgrade the kernel (sudo apt-get update && sudo apt-get dist-upgrade
), after rebooting the login screen is at 800x600 (or so) resolution. I enter my login credentials without problems, but after clicking on the login button, a black screen appears.
When I'm on the black screen, the virtual machine isn't hanged. It just doesn't do anything. If I move to a virtual tty (CTRL
+ALT
+1
), I can login correctly and run the GUI using startx
.
Things I tried:
- Uninstalling the
VirtualBoxAddons
: the GUI works correctly, but at 800x600 pixels (usually it runs at the same size of the maximized VirtualBox window). I can't access the shared folders and so.
- Reinstalling the
VirtualBoxAddons
from the command line: it doesn't change anything.
- Reinstalling the
VirtualBoxAddons
from the GUI: it doesn't change anything.
Any idea of what can I do to fix this? And to avoid this problem? Because it happens every time I upgrade the kernel... Maybe should I upgrade to 20.04? I'm not upgrading because the server where I deploy my code it's also an 18.04, but maybe it's time to upgrade all...
Thank you for your help! :)