Screen resolution always reset to 800x600 after reboot.

Discussions about using Linux guests in VirtualBox.

Screen resolution always reset to 800x600 after reboot.

Postby senglory » 1. Sep 2021, 01:06

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?
senglory
 
Posts: 9
Joined: 31. Aug 2021, 15:36

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

Postby scottgus1 » 1. Sep 2021, 01:12

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.
scottgus1
Site Moderator
 
Posts: 17154
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.

Postby fth0 » 1. Sep 2021, 15:36

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

Code: Select all   Expand viewCollapse view
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.
fth0
Volunteer
 
Posts: 4163
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

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

Postby senglory » 1. Sep 2021, 15:49

Thanks! Explicit call for VBoxManage resolved the issue.
senglory
 
Posts: 9
Joined: 31. Aug 2021, 15:36


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 17 guests