Virtual Box - not filling entire screen

71

12

I am new to VirtualBox and am trying to set up an instance of Windows 7 64.

I have the virtual machine instance running with Windows 7 now installed, but it only fills up a small portion of my screen. Even when I go full screen, the window stays the same size and the rest of the screen is filled with gray space.

I have installed VirtualBox Guest Additions, which allowed me to go from a resolution of 800x600 to 1024x768, but this still isn't satisfactory as my laptop display is 1600x900.

Any help on this would be most appreciated. Thanks.

jdavis

Posted 2012-04-03T16:10:00.307

Reputation: 861

can you post a screenshot with VB at fullscreen mode? – Sathyajith Bhat – 2012-04-03T16:45:20.123

I'm having a similar problem, though it cropped up out of nowhere after things had worked properly for about 2 years. Mountain Lion host, XP guest, VBox v4.2.6. I increased the VM's total memory and video memory to no avail. – psoft – 2013-02-06T04:35:51.770

Just figured it out for myself - see answer. – psoft – 2013-02-06T04:42:39.163

Answers

64

You must install guest additions. In the "Devices" menu in the virtual machine's menu bar, VirtualBox has a handy menu item named "Install guest additions", which mounts the Guest Additions ISO file inside your virtual machine. A Windows guest should then automatically start the Guest Additions installer, which installs the Guest Additions into your Windows guest. After that your virtual OS scren will be automatically change resolution to fill entire screen.

Arterius

Posted 2012-04-03T16:10:00.307

Reputation: 798

4For my case I found this answer not explicit enough. For OSs: MAC OS(host), Win(guest): 1.Applications > right-click VBox.app > locate VBoxGuestAdditions.iso 2.In VirtualBoxManager > Storage > drag&drop .iso file here. 3.In the host machine menu Devices > Optical Drives > select .iso file. Then open cd drive in Windows and install guest editions with double-click on .exe file. Finally, reboot. – boldnik – 2016-01-27T20:51:15.463

Thanks Arterius. This helped me when I installed Windows 10 in Debian Stretch using Virtualbox 6. – Bertram Gilfoyle – 2019-07-25T22:04:00.607

30

Try increasing the virtual graphics adapter's memory to 64 or 128M. That might help. You may also want to see if you can change the screen resolution from within the guest OS.

BobT

Posted 2012-04-03T16:10:00.307

Reputation: 331

2Additionally, I had to set scaling to 200% to get a readable screen (everything was very small) – grooveplex – 2019-02-13T15:49:38.093

These two comments worked perfectly for me, thank you! – Liran H – 2019-12-04T14:48:43.847

8

Auto-resize Guest Display

After leaving the comment on your original question, I figured out my problem. I had hit Command-G instead of Command-F. On Mac host, Command-G toggles an "Auto-resize Guest Display" setting. That fixed it.

psoft

Posted 2012-04-03T16:10:00.307

Reputation: 213

All that does is take you to full screen. – Jayden Lawson – 2014-05-27T13:27:39.833

1

I had the same problem and my Guest Addition was installed correctly. I read BobT suggestion above and checked my adapter graphic memory and it was using 128 MB. I changed it to 256 MB and everything got fixed. Then changed it back to 128 MB and now everything is fine :)
So maybe just a change is need to hint VB graphic adapter.
Hope it works :)

Arash moradabadi

Posted 2012-04-03T16:10:00.307

Reputation: 151

1

There might be three causes as far as I know:

  • Either your video card doesn't support such high resolution: as BobTsaid you can try tuning your video card settings in the VM properties
  • Or it may be that the resize event is not interpreted correctly by VirtualBox: what happens if you resize the window by dragNDropping the corner to a resolution higher than 1027*768? If this works (allowing you to go higher than that), then you should try entering and leaving full screen several times
  • And if you are using an application that takes full control of the screen (eg. a game), and that application doesn't support your target resolution, then not much can be done.

PPC

Posted 2012-04-03T16:10:00.307

Reputation: 686

1

You need to reboot VM after installing guest additions, and then select options to auto-resize guest display etc to your liking.

ZaB

Posted 2012-04-03T16:10:00.307

Reputation: 2 365

0

There is a menu option in VirtualBox GUI under Screen > Go to full screen; also accessible through Host + F by default. (you can configure the host key in VBox options).

During a fullscreen session you should have a hidden bar on the bottom of the screen with restore tools: just tap the bottom of the screen with the mouse pointer.

PPC

Posted 2012-04-03T16:10:00.307

Reputation: 686

3Yes, I understand that, but what I'm trying to say is that once it is in full screen, the viewable portion of the virtual machine OS is still set to 1024x768 and all although the VirtualBox program is filling the whole screen, everything around the OS window at 1024x768 is just filled with gray. So I can't make the screen fill my entire display. – jdavis – 2012-04-03T16:33:13.337

Sorry, I understood the question wrong: see my other answer – PPC – 2012-04-03T18:27:30.400