Specify screen resolution for Virtual Box

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Pavel_47
Posts: 13
Joined: 22. Oct 2020, 13:35

Specify screen resolution for Virtual Box

Post by Pavel_47 »

Hello,
Does exist an option allowing to specify screen resolution for VB ?
Thanks.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Specify screen resolution for Virtual Box

Post by mpack »

You are thinking about the problem incorrectly.

VirtualBox doesn't have "a" screen resolution. It's a hardware emulator, with capabilities which can be different for each simulated PC. Also, hardware (simulated or not) does not pick what resolution an OS will use. The hardware (VirtualBox) provides a spectrum of capabilities, the guest OS then chooses whatever specific resolution it wants to use.

I.e. if you want to pick a display size for the guest, look for controls inside the guest. Also make sure that you installed the Guest Additions (GAs), which allows the guest OS to see the full graphics capabilities of the "hardware". If the VM is running and the GAs are installed then you can quickly pick a display size in the menu "View|Virtual Screen 1|Resize to xxx by yyy". This essentially just asks the running guest OS to change to that display size.
Pavel_47
Posts: 13
Joined: 22. Oct 2020, 13:35

Re: Specify screen resolution for Virtual Box

Post by Pavel_47 »

Sorry to be confused with the terms.
Indeed I want to specify the screen of guest OS screen.
At the launching I accepted some option ("allow window resizing" ... or something like this ... I don't remember).
I can resize the window drugging it by mouse. As result the icons, fonts, etc. are corrupted because of initial ratio isn't kept.
So, I am considering two possibilities (I don't know if they exist as I imagine them):
[*]resize guest window OS with mouse, but original ratio should be kept
[*]specify somewhere some of the standard screen sizes for guest window OS (better)

Actually it looks like this:
Image

How to check if GAa are installed ?
Where is located "View|Virtual Screen".

Thanks.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Specify screen resolution for Virtual Box

Post by BillG »

That depends on what OS is running in the guest. If it is Windows, you will see it in Control Panel>Programs & Features, along with all the other programs installed in the vm.
If they are not installed, click on the Devices tab at the top of the screen, scroll down and select Insert Guest Additions CD Image.. You should them get a popup message asking what you want to do with the CD.

If the GAs are installed, you can resize the windows by dragging a corner of the screen, or you can change it from within Windows, just as you do for Windows on a physical PC.
GAs.PNG
Bill
Pavel_47
Posts: 13
Joined: 22. Oct 2020, 13:35

Re: Specify screen resolution for Virtual Box

Post by Pavel_47 »

My guest OS is Ubuntu 64.
If they are not installed, click on the Devices tab at the top of the screen, scroll down and select Insert Guest Additions CD Image
Where can I get this .iso ?
If the GAs are installed, you can resize the windows by dragging a corner of the screen, ...
I'm not aware if Guest Additions are installed or not, but I can drag corner of guest OS window. The problem is that the ratio of objects (fonts, icons) isn't kept.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Specify screen resolution for Virtual Box

Post by mpack »

Pavel_47 wrote: Where can I get this .iso ?
Nobody said that you needed an ISO. All you were told to do was click a menu item.
Pavel_47
Posts: 13
Joined: 22. Oct 2020, 13:35

Re: Specify screen resolution for Virtual Box

Post by Pavel_47 »

Well, I did it.
What then ?
Image
multiOS
Volunteer
Posts: 1227
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Specify screen resolution for Virtual Box

Post by multiOS »

Try the VirtualBox User Manual Para. 4.2.2 "Guest Additions for Linux"

Click on the VirtualBox 'Help' Menu and select "Contents" to find the instructions
Last edited by mpack on 5. Nov 2020, 19:01, edited 1 time in total.
Reason: Add user manual link.
Pavel_47
Posts: 13
Joined: 22. Oct 2020, 13:35

Re: Specify screen resolution for Virtual Box

Post by Pavel_47 »

At the link below
https://help.ubuntu.com/community/Virtu ... tAdditions
they talk that VBoxGuestAdditions.iso can be found here
http://download.virtualbox.org/virtualbox/
in the subdirectory for the latest version of VirtualBox.
My version of the VirtualBox is 6.1.16 r140961.
The latest version at the link above is 6.1.0_RC1
Will it work with my VB ?
Thanks
multiOS
Volunteer
Posts: 1227
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Specify screen resolution for Virtual Box

Post by multiOS »

You don't need to download Guest Additions separately. The correct ISO is already available within the VirtualBox installation. With the VM running, just use the Device Menu Item and choose "Insert Guest Additions CD image.." and watch for the pop-up prompt which asks what you want to do next.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Specify screen resolution for Virtual Box

Post by scottgus1 »

multiOS wrote:watch for the pop-up prompt which asks what you want to do next.
Some OS's might not do anything, depending on what settings the user has chosen with earlier CDs used in the OS.

The Guest Additions installer will be in the VM's CD drive. After "Insert Guest Additions CD image..", if you don't see any popup prompt, look in the VM's CD drive.
Post Reply