Screen Size Problem
Screen Size Problem
Running RHEL 7 Server on VirtualBox, I'm using only CLI no GUI. After installing guest addintions and test them and by that I mean even the GUI everything works fine, but when I return to CLI, because I use only that environment the size of the screen is still small. Can anyone tell me how can I increase window size? I try changing the setting ( Preferences -> Display ), but nothing work out.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Screen Size Problem
If you mean you want to change the default 80x24, that's not what the guest additions enable you to do. Frankly I don't know if there's a way to change that. If you want to simply see things bigger, try the scaling option. But this will simply "zoom in" the display, won't actually change the screen resolution.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Screen Size Problem
You can enable scale mode and then resize the window I think.
I had a quick look at the source code to see if non standard (>80x25) text modes are provided, and it looks like not.
I had a quick look at the source code to see if non standard (>80x25) text modes are provided, and it looks like not.
-
Martin
- Volunteer
- Posts: 2562
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Screen Size Problem
In older Linux versions the text mode screen size was controlled with the 'vga=xxx' parameter on the kernel line in the bootloader config.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Screen Size Problem
Yep, but it's already set to the largest display size the BIOS supports - that's what I checked.Martin wrote:In older Linux versions the text mode screen size was controlled with the 'vga=xxx' parameter on the kernel line in the bootloader config.
Re: Screen Size Problem
Well thanks for the answers. It locks like I need have to move to VM Workstation.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Screen Size Problem
You change the guests framebuffers to be able to use the size you want. Various guests use different approaches but I have found that they all have instructions on how to achieve this by searching Google. Martin is correct for some you simply add a comment to the bootloader, and some use the grub config to set it.david359 wrote:Running RHEL 7 Server on VirtualBox, I'm using only CLI no GUI. After installing guest addintions and test them and by that I mean even the GUI everything works fine, but when I return to CLI, because I use only that environment the size of the screen is still small. Can anyone tell me how can I increase window size? I try changing the setting ( Preferences -> Display ), but nothing work out.
Re: Screen Size Problem
Hello, after doing some reading across grub documentation I found out that all I have to do in this case is just to add thees three line in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="splash xvga=<here is the resolution of the screen in format ( number X number X buffer )>"
GRUB_GFXMODE=<here is the resolution of the screen in format ( number X number X buffer )>
GRUB_GFXPAYLOAD_LINUX=keep
Everyone thanks for the help.
GRUB_CMDLINE_LINUX_DEFAULT="splash xvga=<here is the resolution of the screen in format ( number X number X buffer )>"
GRUB_GFXMODE=<here is the resolution of the screen in format ( number X number X buffer )>
GRUB_GFXPAYLOAD_LINUX=keep
Everyone thanks for the help.