Ubuntu server terminal doesn't resize screen in VirtualBox
The auto-resize feature is for the X Window System.
From VirtualBox Manual - 4.2.2.2. Graphics and mouse integration:
In Linux and Solaris guests, VirtualBox graphics and mouse integration goes through the X Window System. ...After installing the Guest Additions into a fresh installation of a supported Linux distribution..., the guest's graphics mode will change to fit the size of the VirtualBox window on the host when it is resized.
Your best option is probably to SSH into the machine (using PuTTY). In that case, here's a few questions to see next:
- How to SSH to a VirtualBox guest externally through a host?
- In VirtualBox, how do I set up host-only virtual machines that can access the Internet?
- Which type of VirtualBox networking should I use?
Dan Dascalescu
Bio Co-founded the visa-free startup ship, Blueseed, the Quantified Self Forum (a community for self-trackers), and two web startups using meteor. Former Developer Advocate at Google - Progressive Web Apps (PWA), Accelerated Mobile Pages (AMP), Chrome OS, and AR (Lens). Former localization engineer at Yahoo!. I currently discourage localization in general, for reasons I haven't seen successfully challenged since 2009, with the exception of translating basic computer programming materials as a way to onboard new developers. More about me on on Wikipedia or on my website. My CV is on StackOverflow Careers. Interests Entrepreneurship and disruptive technologies, biotech, 3D printing, brain-computer interfaces, prediction markets. Applying ~20 years of experience in software development and ~5 in the startup world in CTO roles at emergent tech companies. Thanks If you feel grateful, here's my Amazon wishlist.
Updated on September 18, 2022Comments
-
Dan Dascalescu over 1 year
(Not talking about resizing the desktop edition as most other questions do.)
I've installed Ubuntu 14.04.1 server 64-bit in VirtualBox 4.3.10 (not .20, which apparently isn't compatible) but the screen won't grow beyond 80x50 or something like that:
I've gone through the steps to install the official guest additions, which ultimately fail with an X.Org error. Well, duh. I need a server box, without a window manager.
How do I make the terminal match the resolution of the VirtualBox window?
UPDATE
I've since installed
virtualbox-guest-utils
and rebooted numerous times. The "Autoresize Guest Display" option is still disabled.Has nobody else encountered this problem? Or do you just ssh into the box?
-
Brandon about 8 yearsDid you ever find an answer to this?
-
-
Dan Dascalescu over 9 yearsTried that, got an error during installation. Updated my post.
-
Rohith Madhavan over 9 yearsWhich version of Virtualbox are you using? 4.3.20?
-
Rohith Madhavan over 9 yearsDid you try rebooting? I can see that the Xserver got installed this time.
-
Dan Dascalescu over 9 yearsI did. The Auto-resize Guest display option is grayed out.
-
Rohith Madhavan over 9 yearsI would suggest that you downgrade and install Virtualbox 4.3.10 instead. The
virtualbox-guest-utils
package supports 4.3.10 and works perfectly on my system. -
Rinzwind over 9 yearsWhat @RohithMadhavan posts is correct and should be the way to do this. Might be a bug... I have 4.3.10 too and works perfectly.