Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
TonyNube
Posts: 4
Joined: 11. Mar 2019, 16:38

Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Post by TonyNube »

VirtualBox version: 6.1.36 r152435
Windows host version: 10 Pro 64-bit
Ubuntu version: 22.04

I've installed the latest VirtualBox version on a new Windows 10 laptop workstation, along with the updated Guest Additions. I've created a single VM running Ubuntu 22.04. Here are some details on the Display configuration within the machine config:
Memory: 32 Mb
Scale factor: 100%
Graphics controller: VMSVGA (recommended by VirtualBox)

If I select either of the other 2 available Graphics Controllers, VBoxVGA or VBoxSVGA, VirtualBox gives an error that an invalid controller is selected. When I start the VM the View option to Auto-resize Guest Display is grayed out.

I have a similar configuration on an older desktop machine running the prior version of VirtualBox and Ubuntu 18.04. The Auto-resize option works fine in that configuration. I created an Ubuntu 18.04 VM in the newer VirtualBox installation on the laptop just to see if something about the guest OS was contributing or causing the problem. No dice. So, the problem seems specific to this latest version of VirtualBox.

Any ideas?
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: Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Post by scottgus1 »

Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
TonyNube
Posts: 4
Joined: 11. Mar 2019, 16:38

Re: Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Post by TonyNube »

Here is the log file. Thanks for any suggestions you might have.
Attachments
UbuntuOSINT-2022-08-24-13-56-31.zip
(31.06 KiB) Downloaded 6 times
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: Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Post by scottgus1 »

Try increasing VM video RAM to the max 128MB.

The pre-installed Guest Additions are possibly too old & need replacing:
00:00:12.001623 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'
Guest Additions have prerequisites in Linux, same as Virtualbox on the host, see https://www.virtualbox.org/manual/ch04. ... ions-linux and https://www.virtualbox.org/manual/ch02. ... nux-prereq. Also, watch the terminal installation report when running the GAs installer. Error messages will show if the install ran into a problem.

After you get 6.1.36's Guest Additions loaded, try the VM again.
Post Reply