Tags
I have a Microsoft Surface Pro 4 laptop and although it is a very high resolution screen it is only 12″ big so I do most of my development on a second 24″ monitor.
I want to my Windows 10 virtual machine to run full screen on the 24″ monitor which is 1900 x 1200 pixels. The problem is that sometimes the VirtualBox guest does not detect the monitor properly and either it fills the screen but everything is so small I cannot see it (I assume it is picking up the ultrahigh resolution of the Surface Pro) or the whole guest screen appears as postcard in the middle of the monitor.
To fix this permanently you will need to make several changes.
Increase video RAM to 256 MB
The slider in the UI only goes up to 128 MB but this is not enough to reliably support scaling in the VirtualBox client. You need to increase this to the maximum permitted 256 GB.
- Power down the guest
- Go to your VirtualBox directory and enter,
vboxmanage.exe modifyvm "Your VM Name" --vram 256
You must verify that the the .vbox file in your virtual machine’s home directory now contains the line VRAMSIZE=”256″. If the update failed you will need to back up the .vbox file and make the update manually.
- start the guest
- reboot
Add the required video mode to the guest
In Windows 10 you right click the desktop and select “Display” to set the display resolution. Set this to your monitor’s native resolution. If the required video mode is missing then go to your VirtualBox directory and add your video mode. Here you can mine is 1920×1200.
- Power down the guest
- Go to your VirtualBox directory and enter,
VBoxManage.exe setextradata "Your VM Name" CustomVideoMode1 1920x1200x32
- Start the guest
- Right click the desktop > Display (or Control Panel\All Control Panel Items\Display\Screen Resolution) and select the correct screen resolution
- reboot
Set the VirtualBox Window setting correctly
You need to have “Auto-size Guest Display” and Full-screen Mode checked
Toggle the Maximum Display Size hint
If none of the above steps fixes your problem the final act of desperation is to toggle the Maximum Display Size hint.
- Power down the guest
- Open Oracle VirtualBox Manager
- File > Preferences > Display > Maximum Guest Screen Size should be “automatic”
- If it is not “Automatic” change it to “Automatic” and start the guest.
- If it is Automatic, change it to “Hint” and add your preferred values.
- Start the guest – we don’t expect this to work.
- Power down the guest
- Set it to “Automatic”
- Start the guest – we expect it to work properly this time.
its mb not gb
Thank you, I have now corrected the text. James
THANK YOU!! I didn’t have this exact issue, but toggling the maximum display size hint resolved my issue and resolved my frustration. Josh
Thanks for your helpful instructions.
After running for months with no display problems, my linux VM suddenly started booting up in postcard mode.
I followed the instructions and at each stage. the little postcard got bigger, but it wasn’t until the end of the instructions when I changed ‘hint’ to ‘automatic’ that it booted up full screen.
This is not the first time that I have been using a VBox VM and it start powering up in postcard mode. I wonder why it happens?
btw there is still an error in your text “You need to increase this to the maximum permitted 256 GB.”
Cheers,
Bob