ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

manually set virtualbox guest display resolution #380

Open ruebenramirez opened 7 years ago

ruebenramirez commented 7 years ago

I found this workaround, to manually set the guest's display resolution from the host command line:

vboxmanage controlvm "windev" setvideomodehint 3840 2160 32

source: http://superuser.com/a/120111

ruebenramirez commented 7 years ago

I've had the most luck on my setup by making the guest window float, running this command on the host, and then dragging the window to scale the screen.

ruebenramirez commented 7 years ago

the dimensions are a bit off still at full 4k though, so to account for the window title bar, edges, and virtualbox icons at the bottom of the window, it helps to remove a bit of the guest screen resolution:

vboxmanage controlvm "windev" setvideomodehint 3820 2130 32