enforce certain screen resolution

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Ecoron
Posts: 5
Joined: 23. Jan 2020, 00:27

enforce certain screen resolution

Post by Ecoron »

Hi,

I run an Ubuntu Xenial guest on my Arch host (VirtualBox 6.1.4 r 136177) with guest additions installed and would like to be able to reduce the guest monitor resolution to a particular size of 1280x720. Is that possible? How do I do this? I've installed `arandr` on my guest but it does not give that specific resolution as an option...
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: enforce certain screen resolution

Post by scottgus1 »

On my Windows 10 host with an XP guest with Guest Additions installed, I can force the guest to a particular screen size by two ways:

1. in the guest itself with the guest's screen size adjustments.
2. using the Virtualbox window's View Menu > Virtual Screen # > Resize to ##x## choices.

I cannot resize past the host screen size. But once I issue this command on the host and restart the guest:
VBoxManage setextradata global GUI/MaxGuestResolution any
then the host screen size is no limit.
Post Reply