Restore snapshot has wrong screen size

Discussions related to using VirtualBox on Windows hosts.
xerces8foo
Posts: 99
Joined: 3. May 2014, 16:44

Re: Restore snapshot has wrong screen size

Post by xerces8foo »

fth0 wrote:Yet another idea: There is an undocumented setting that may or may not help:

Code: Select all

cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens" "1"
Please provide a (zipped) VBox.log file from a VM run with this setting. To undo the setting:

Code: Select all

cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens" ""
Done.
No change in behavior.
log attached
Attachments
VBox_log.zip
(20.99 KiB) Downloaded 4 times
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Restore snapshot has wrong screen size

Post by fth0 »

You've started the VM from a Saved state, which you created ~20 days ago. Therefore, my previous suggestions cannot have an effect. Additionally, the VirtualBox version and the VirtualBox Guest Addition version do not match.

I'd suggest to shut down the VM from within the guest OS to bring it into the Powered Off state, then apply the AutomountGuestScreens setting. Afterwards, try to reproduce the issue with a new snapshot, and provide a zip file with all 4 VBox.log* files.
xerces8foo
Posts: 99
Joined: 3. May 2014, 16:44

Re: Restore snapshot has wrong screen size

Post by xerces8foo »

What I did:
- start the VM
- update Windows (it nagged me about it...)
- update Guest Additions to 6.1.40
- reboot the VM OS as needed by above
- take new snapshot
- power off and revert to snapshot
- start VM (from last snapshot)

What happened:
- VM window appears in normal size
- VM window goes very small
- VM Window goes back to normal size

So it seems to work OK now.

But: I shut down the VM, undid the AutomountGuestScreens, started the VM, took snapshot, powered off, restarted from snapshot, and it still works OK (final VM window size is as it should be)
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Restore snapshot has wrong screen size

Post by fth0 »

Thanks for reporting back! :)
Post Reply