GUI - blank screen after login

Hi,

I have a CentOS Stream release 9 virtual machine running on VirtualBox 7. Everytime I boot up the VM > GUI login screen > enter credentials > I get blank screen.

I login to CLI - restart GDM service and the GUI becomes accessible.

I tried re-installing VirtualBox additions, adjusting default display resolution, enabling wayland, tried lightDM etc, but the issue persists.

Everytime after boot, login, screen goes blank and I issue “sudo systemctl restart gdm” which takes me to login screen again, and GUI works perfectly thereafter.

How do I go around this?

I am new to CentOS, I have been running ubuntu VM without any issues so far.