Console resolution.

Discussions about using Linux guests in VirtualBox.
Post Reply
DavyJohnes
Posts: 5
Joined: 12. Aug 2011, 14:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.10

Console resolution.

Post by DavyJohnes »

Hello!
I have installed Ubuntu 10.10 Server as guest system. Everything alright, but console resolution is very small, something like 640x480, and when I go to full-screen mode, it doesn't change. What I have to do to change console resolution ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Console resolution.

Post by Perryg »

http://ubuntuforums.org/showpost.php?p= ... stcount=10

You will need to adapt to your version
DavyJohnes
Posts: 5
Joined: 12. Aug 2011, 14:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.10

Re: Console resolution.

Post by DavyJohnes »

Perryg wrote:http://ubuntuforums.org/showpost.php?p= ... stcount=10

You will need to adapt to your version
I now this way, but hwinfo --framebuffer, that gives vga modes, dooesn't give mode that i neeed (1366x768). What I have to do?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Console resolution.

Post by Perryg »

Does sudo hwinfo --framebuffer show that resolution?
If not you can't use it. Besides 1366x768 is not a standard resolution.

This really has nothing to do with VirtualBox. If you had X installed and could install the guest additions you would not have this issue. Since it is a server without X you must rely on the OS for the framebuffers.
akaspin
Posts: 5
Joined: 31. Jul 2011, 07:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 11.04 x64

Re: Console resolution.

Post by akaspin »

hartman.rh
Posts: 28
Joined: 19. Feb 2010, 20:45
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: CentOS, Windows, Ubuntu
Location: Netherlands
Contact:

Re: Console resolution.

Post by hartman.rh »

There does seem to be an issue with console resolution in VBox 4.1.
I'm running a CentOS 5 and a CentOS 6 client in 1280x1024 (console) resolution (VGA=775), and since VBox 4.1 I lost my high console resolution in both clients.
I downgraded VBox to 4.0.12 again, and found this is an issue with the VBoxLinuxAdditions; only after also downgrading the Additions to 4.0.12 I had my high console resolution back again.
levk
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: Console resolution.

Post by levk »

I there a specific reason you prefer the actual vbox window with the console? Because you can do everything you can with a console and more (like scrolling up, copy/paste) with SSH.
qkb
Posts: 24
Joined: 16. Nov 2009, 21:02
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP, Win7, Debian
Location: Kraków, Poland

Re: Console resolution.

Post by qkb »

I have a Debian-testing guest (and Ubuntu must be similar) so my solution for full-screen full-resolution console screen may also work in Ubuntu:
1. add your host resolution as a 'custom VESA resolution' to VBox (see section 9.6.1 in VBox User's Manual for details)
2. add a line like:

Code: Select all

GRUB_GFXPAYLOAD_LINUX="1280x800x32,1280x800"
to /etc/default/grub in the host (use your host resolution here, 1280x800 is mine). The 'update-grub' is needed for the changes to take effect after next guest reboot. You need to be root orl sudoer to be able to apply these changes in the guest.

Keep in mind that since 4.1 terminal consoles are invisible anyway :? (see another thread).
pvoigt
Posts: 7
Joined: 17. Feb 2010, 21:07
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: openSUSE 64bit, Windows 7 64bit, Windows XP 32bit
Location: Germany

Re: Console resolution.

Post by pvoigt »

Hi qbk,

could you please give me the link to the thread dealing with "invisible terminal consoles". I've come to this issue after upgrading from VB 4.0.10 to 4.1.4. After the upgrade I cannot change anymore to the virtual consoles with ALT+CTRL+Fx of my Linux guest. They simply remain black. I figured out that downgrading the Linux Guest Additions to 4.0.10 provides a workaround. I would like to know, if it is a bug or a configuration issue.
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: Console resolution.

Post by Sasquatch »

pvoigt wrote:Hi qbk,

could you please give me the link to the thread dealing with "invisible terminal consoles". I've come to this issue after upgrading from VB 4.0.10 to 4.1.4. After the upgrade I cannot change anymore to the virtual consoles with ALT+CTRL+Fx of my Linux guest. They simply remain black. I figured out that downgrading the Linux Guest Additions to 4.0.10 provides a workaround. I would like to know, if it is a bug or a configuration issue.
It's a problem with Linux picking the wrong framebuffer to show the console after the GA are installed. There are some features in the GA that cause Linux to misinterpret it's true capabilities. To avoid this, use "text" instead of a resolution. Your terminal will show, but in the default 80x25 characters. You can't have both, unless, as you found out, use older guest additions or none at all (but I've read various posts that had no text even without GA).
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.
pvoigt
Posts: 7
Joined: 17. Feb 2010, 21:07
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: openSUSE 64bit, Windows 7 64bit, Windows XP 32bit
Location: Germany

Re: Console resolution.

Post by pvoigt »

Sasquatch wrote:
pvoigt wrote:Hi qbk,

could you please give me the link to the thread dealing with "invisible terminal consoles". I've come to this issue after upgrading from VB 4.0.10 to 4.1.4. After the upgrade I cannot change anymore to the virtual consoles with ALT+CTRL+Fx of my Linux guest. They simply remain black. I figured out that downgrading the Linux Guest Additions to 4.0.10 provides a workaround. I would like to know, if it is a bug or a configuration issue.
It's a problem with Linux picking the wrong framebuffer to show the console after the GA are installed. There are some features in the GA that cause Linux to misinterpret it's true capabilities. To avoid this, use "text" instead of a resolution. Your terminal will show, but in the default 80x25 characters. You can't have both, unless, as you found out, use older guest additions or none at all (but I've read various posts that had no text even without GA).
Thanks for the quick reply. Directly after my post in this thread I've addressed this issue to the "Discuss the 4.1.4 release" with some more details given. Still remaining to me is the anser to the question: Is the GA misinterpretation a bug or a feature, e.g. should I open a bug report or not? The current situation is very annoying and makes Linux guests close to unusable.
Post Reply