Screen resolution always reset to 800x600 after reboot.

Discussions about using Linux guests in VirtualBox.
Post Reply
senglory
Posts: 9
Joined: 31. Aug 2021, 15:36

Screen resolution always reset to 800x600 after reboot.

Post by senglory »

I installed Porteus v5 x86-64 rc3 (clone of Slackware) as a guest OS, set screen resolution there to 1024x768, but when it reboots it sets resolution always to 800x600. What should I change in my VM settings to make it keeping the requested 1024x768?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Screen resolution always reset to 800x600 after reboot.

Post by scottgus1 »

If you have Guest Additions in the VM, per your other topic, then Virtualbox should be fully configured. Check if the Vm's OS has a config file that forces the old resolution.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Screen resolution always reset to 800x600 after reboot.

Post by fth0 »

While the VM is not running, execute the following command:

Code: Select all

VBoxManage setextradata "VM name" "GUI/LastGuestSizeHint" "1024,768"
Note that this setting will only be honored, if the VirtualBox Guest Additions have been correctly installed inside the guest OS.
senglory
Posts: 9
Joined: 31. Aug 2021, 15:36

Re: Screen resolution always reset to 800x600 after reboot.

Post by senglory »

Thanks! Explicit call for VBoxManage resolved the issue.
Post Reply