Custom screen resolution for a VirtualBox Mac guest?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Sambot
Posts: 3
Joined: 7. Oct 2015, 18:00

Custom screen resolution for a VirtualBox Mac guest?

Post by Sambot »

TL;DR - How do I set a custom screen resolution for a VirtualBox Mac guest?

I'm in a situation where I need to keep Snow Leopard (Mac OS X 10.6.8) alive in a VirtualBox setup to run some legacy software. The host machine is a 2013 MacBook Retina 13" running El Capitan (Mac OS X 10.11) Honestly, things are running pretty well... better than expected! The one irritation is that I can't set the resolution to something reasonable.

I've scoured the internet and followed lots of tutorials. The only thing that has been effective, has been this:
To control GOP, use the following VBoxManage command:

VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N

Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900 screen resolution respectively.
While this is useful, I need a custom resolution of 1440x856... which will allow me to put the VM on a 1440x900 display with VirtualBox's top and bottom utility bars exposed without having to scroll the window around.

Is there a way to set a custom screen resolution for a Mac host and guest in VirtualBox?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Custom screen resolution for a VirtualBox Mac guest?

Post by loukingjr »

OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Custom screen resolution for a VirtualBox Mac guest?

Post by loukingjr »

actually that may not work without guest additions installed and OSX guests have none.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Sambot
Posts: 3
Joined: 7. Oct 2015, 18:00

Re: Custom screen resolution for a VirtualBox Mac guest?

Post by Sambot »

Thanks! But this seems to have no effect. Here's what I'm doing (maybe I'm missing something?):

In Terminal, I run:

Code: Select all

VBoxManage setextradata "Snow Leopard" "CustomVideoMode1" "1440x856x32"
Then I boot the VM and there's no difference. Is there another step? Thanks!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Custom screen resolution for a VirtualBox Mac guest?

Post by loukingjr »

see my last post. ^^^^
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Sambot
Posts: 3
Joined: 7. Oct 2015, 18:00

Re: Custom screen resolution for a VirtualBox Mac guest?

Post by Sambot »

Thanks. So it looks like, without the Guest Additions, I'm screwed?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Custom screen resolution for a VirtualBox Mac guest?

Post by loukingjr »

well, you could always select the next smaller screen size. But basically, yes.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply