Page 1 of 1

Screen Size Problem

Posted: 22. Jan 2016, 11:31
by david359
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

Posted: 22. Jan 2016, 11:45
by socratis
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.

Re: Screen Size Problem

Posted: 22. Jan 2016, 11:59
by mpack
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.

Re: Screen Size Problem

Posted: 22. Jan 2016, 12:14
by Martin
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

Posted: 22. Jan 2016, 12:53
by mpack
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.
Yep, but it's already set to the largest display size the BIOS supports - that's what I checked.

Re: Screen Size Problem

Posted: 22. Jan 2016, 13:14
by david359
Well thanks for the answers. It locks like I need have to move to VM Workstation.

Re: Screen Size Problem

Posted: 22. Jan 2016, 15:30
by Perryg
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.
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.

Re: Screen Size Problem

Posted: 21. Feb 2016, 09:33
by david359
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. :)