Can the framebuffer be made resizable?

Discussions about using Linux guests in VirtualBox.
Post Reply
Mashed Potatoes
Posts: 3
Joined: 28. Jul 2010, 20:59
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Can the framebuffer be made resizable?

Post by Mashed Potatoes »

Hi folks!

VirtualBox runs Ubuntu as guest, and after some minor problems, I got X up and running, and set the framebuffer (before X starts) to 1024x768.

However, there is one thing that bugs me. I need only a command line, because the Linux guest is a server system. If I want the command line filling the host window, and smooth scrolling (!), I need to start X and a terminal.

So question is: can you make the native framebuffer resizable?

If no: can you make X appear as a simple console framebuffer? This means just one terminal window filling the whole screen.

Thanks for your replies.

p.s.: ssh server + putty is an option as well, but I'm curious if above would work. :)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can the framebuffer be made resizable?

Post by Perryg »

Mashed Potatoes
Posts: 3
Joined: 28. Jul 2010, 20:59
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Re: Can the framebuffer be made resizable?

Post by Mashed Potatoes »

Hi Perryg,

thanks for your quick reply. In your link I only find information how to set a fixed size framebuffer, but I am looking for a resizeable console. Did I miss something?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can the framebuffer be made resizable?

Post by Perryg »

Nope. AFAIK you can not auto resize the console using this information. You can set it to any size you want but that is it. Changing requires a reboot.
Only way to use CLI and auto resize is to start X and drop to a TTY If the guest additions are installed. Kind of pointless if you are simply wanting to run the CLI on a server and not have all those dependencies installed.
Mashed Potatoes
Posts: 3
Joined: 28. Jul 2010, 20:59
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Re: Can the framebuffer be made resizable?

Post by Mashed Potatoes »

Perryg wrote:Only way to use CLI and auto resize is to start X and drop to a TTY If the guest additions are installed.
Well, then so be it. X and a simple display manager, automatic root login. Haha, my server has X! Who needs security best practices anyway? :mrgreen:
tommypotter
Posts: 1
Joined: 6. Aug 2010, 08:46
Primary OS: MS Windows XP
VBox Version: OSE Mandriva
Guest OSses: xp

Re: Can the framebuffer be made resizable?

Post by tommypotter »

In your link I only find information how to set a fixed size framebuffer, but I am looking for a resizeable console. Did I miss something?
Only way to use CLI and auto resize is to start X and drop to a TTY If the guest additions are installed. Kind of pointless if you are simply wanting to run the CLI on a server and not have all those dependencies installed.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can the framebuffer be made resizable?

Post by Sasquatch »

As stated here, there is no dynamic resolution for CLI. If you want higher resolutions, you modify your boot parameter to use a different FB mode.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply