If the “Auto-resize Guest Display” is greyed out for you, go ahead and reboot your virtual machine and check if the issue is resolved. In case that doesn’t work, go ahead and restart your VirtualBox.
If VirtualBox is not detecting the Graphics card, execute the solutions given below. Enable 3D Acceleration and increase VRAM Install the correct display driver in the Guest OS Allocate more system ...