Resolution never saves
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Resolution never saves
Hi guys! Just installed Oracle Lunux64 (OracleLinux-R8-U3) and everything is perfect except one thing. It just always starts 800x600 in a small window. Every time I change it to e.g. 1920x1200 it changes and is ok until I shut up the machine. When I reload/or reopen the machine the resolution is still default. What should I do? Drives crazy really.
Thanks in advance!
Thanks in advance!
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Resolution never saves
What makes this a "Windows Hosts" question? I see nothing in your question which mentions the host. I'll move the topic to "Linux Guests".
The display size is selected by the guest OS during boot, so it seems that your guest is not saving your display size preference you selected in a previous session. Are you perhaps booting from a read only medium, e.g. a live CD?
p.s. Don't expect any special expertise regarding Oracle Linux 'round here. The forum servers may be owned by Oracle, but this is a user to user self help discussion forum set up to discuss VirtualBox. I.e. none of us work for Oracle.
The display size is selected by the guest OS during boot, so it seems that your guest is not saving your display size preference you selected in a previous session. Are you perhaps booting from a read only medium, e.g. a live CD?
p.s. Don't expect any special expertise regarding Oracle Linux 'round here. The forum servers may be owned by Oracle, but this is a user to user self help discussion forum set up to discuss VirtualBox. I.e. none of us work for Oracle.
-
- Volunteer
- Posts: 836
- Joined: 14. Sep 2019, 16:51
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: WIN11,10, 7, Linux (various)
- Location: United Kingdom
Re: Resolution never saves
@macbheatha
I've occasionally seen this happen prior to the full installation of Guest Additions on a Linux VM - IME some Linux distros won't even respect screen resizing prior to installation, i.e. always revert to the default. Have you installed Linux Guest Additions and, if so, are all screen options shown as available (not greyed out) in the 'View' Menu Item?
I've occasionally seen this happen prior to the full installation of Guest Additions on a Linux VM - IME some Linux distros won't even respect screen resizing prior to installation, i.e. always revert to the default. Have you installed Linux Guest Additions and, if so, are all screen options shown as available (not greyed out) in the 'View' Menu Item?
-
- 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: Resolution never saves
Please follow my instructions in Re: Version 6.1.12 Guest OS Won't Save Resolution Across Reboots, replacing every occurrence of the VM name in the given commands. Please report back if it solved your problem.macbheatha wrote:What should I do?
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Re: Resolution never saves
Yeah, will try it now. Btw, what does Guest OS mean?fth0 wrote:Please follow my instructions in Re: Version 6.1.12 Guest OS Won't Save Resolution Across Reboots, replacing every occurrence of the VM name in the given commands. Please report back if it solved your problem.macbheatha wrote:What should I do?
Edit: sorry, im dumb, i know what it is...
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Re: Resolution never saves
I just do not understand really in which line I should paste the codefth0 wrote:Please follow my instructions in Re: Version 6.1.12 Guest OS Won't Save Resolution Across Reboots, replacing every occurrence of the VM name in the given commands. Please report back if it solved your problem.macbheatha wrote:What should I do?
-
- 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: Resolution never saves
Ah, I see now that my old post can be misleading. Thanks for pointing that out.macbheatha wrote:I just do not understand really in which line I should paste the code
VBoxManage is a program to be executed from the command line of the host OS (e.g. Linux terminal, Windows CMD). When the given command is executed, the .vbox file is modified automatically.
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Re: Resolution never saves
Yeah, have done that already. However, it seems like the line has not been added and resolution in fact not rememberedfth0 wrote:Ah, I see now that my old post can be misleading. Thanks for pointing that out.macbheatha wrote:I just do not understand really in which line I should paste the code
VBoxManage is a program to be executed from the command line of the host OS (e.g. Linux terminal, Windows CMD). When the given command is executed, the .vbox file is modified automatically.
-
- 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: Resolution never saves
The command removes the line, and VirtualBox re-creates it (with the current resolution) when the VM is shut down the next time.
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Re: Resolution never saves
fth0 wrote:The command removes the line, and VirtualBox re-creates it (with the current resolution) when the VM is shut down the next time.
Unfortunately, resolution still the same
-
- 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: Resolution never saves
You could also try to set the wanted resolution, e.g. VBoxManage setextradata "VM name" "GUI/LastGuestSizeHint" "1600,900". Note that the resolution has to fit into the VM window, which typically is a little bit smaller than the monitor resolution.
Just noticing: Are you perhaps not using a GUI (X11, Wayland) at all?
Just noticing: Are you perhaps not using a GUI (X11, Wayland) at all?
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Re: Resolution never saves
Right, not using. I'm early-early beginner. Tried VBoxManage setextradata "VM name" "GUI/LastGuestSizeHint" "1600,900" - not workingfth0 wrote:You could also try to set the wanted resolution, e.g. VBoxManage setextradata "VM name" "GUI/LastGuestSizeHint" "1600,900". Note that the resolution has to fit into the VM window, which typically is a little bit smaller than the monitor resolution.
Just noticing: Are you perhaps not using a GUI (X11, Wayland) at all?
-
- 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: Resolution never saves
If you aren't using a GUI, then you can forget about all I've written in this thread. As the name of the setting GUI/LastGuestSizeHint indicates, it is only used in combination with a GUI.
You'll have to configure a resolution change inside the guest OS (e.g. in its startup scripts), and the VM window should adapt automatically.
You'll have to configure a resolution change inside the guest OS (e.g. in its startup scripts), and the VM window should adapt automatically.
-
- Posts: 12
- Joined: 30. Dec 2020, 22:13
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Oracle Linux
- Location: Russia
Re: Resolution never saves
So idk, probably I use a GUI.fth0 wrote:If you aren't using a GUI, then you can forget about all I've written in this thread. As the name of the setting GUI/LastGuestSizeHint indicates, it is only used in combination with a GUI.
You'll have to configure a resolution change inside the guest OS (e.g. in its startup scripts), and the VM window should adapt automatically.
Here I'm trying to change a resolution and it changes https://ibb.co/mctLygh
Then I restart/shut down VM and again boom default poop https://ibb.co/4td9r8F
-
- 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: Resolution never saves
Yes, your screenshots show a GUI. Now please answer the questions that user multiOS has asked ...