27

My monitor is 1920 x 1200 and the computer is running Windows 7.

Using VirtualBox and Ubuntu 10.04, the screen of the Ubuntu can only be 800 x 600 or 640 x 480. Is there a way to change that.

I resized the VirtualBox window and Ubuntu still thinks the max is 800 x 600.

31

Try installing the guest additions.

Inside the window holding your virtual machine you can go to one of the menu options and select to install guest additions. It will mount a CD in the virtual machine where you will be able to run the installation scripts from.

The article below describes the complete installation process in more detail:

Install VirtualBox Guest Additions on VirtualBox Guests

| improve this answer | |
10

To solve this issue, open a terminal and run the following command:

sudo apt install virtualbox-guest-dkms
| improve this answer | |
3

I had the same problem yesterday. Installing the Guest Additions in Ubuntu resolved the issue. This is the article I found on VirtualBox's official forum that describes how to install the Guest Additions in any Linux distros.

Howto: Install Linux Guest Additions + Xorg config

Once the installation was done and Ubuntu was restarted, Ubuntu was able to detect my host OS' (Windows 7) screen resolution and adjust automatically.

| improve this answer | |
2

I had this problem, and it was because my physical screen resolution is 1024x768.

Uncheck: View > Auto-resize Guest Display

| improve this answer | |
  • Excellent! Having got it working once and then somehow breaking it without realising how, this fixed it. Thanks! – Richard Turner Jul 9 '12 at 10:08
  • Not sure why, but this option appears disabled on my VM (Ubuntu 18.04). – JCarlosR Oct 19 '19 at 3:48
2
  1. Search for Terminal

  2. Open Terminal

  3. Type : Sudo apt-get install virtualbox-guest-dkms

  4. Wait Until It dones (if anything press enter,Y,OK

  5. if it done. type : Exit

  6. Restart your Ubuntu by clicking Shutdown then click Restart!

  7. If you have black screen wait for 5 minute or above .

  8. Insert Guest additions in your virtualbox.

  9. If it said Force Unmount or Unmount .. PRess Cancel!

  10. You i'll see its finished now! Press CTRL(right) + F

| improve this answer | |
  • 2
    How is this different than earlier answers? – Dave M Oct 25 '14 at 18:41
  • What!!! So you mean to tell me that you don't even have to run virtualboxLinux.run file in the guest addition iso file. I just did what you listed here and it worked.... – ThN May 25 '15 at 7:22
2

My answer is related to console mode Linux only. So, please be aware of that.

If you are using Linux with no X-Window installed (like usually servers do) than you'll need to edit /etc/default/grub file adding following lines:

GRUB_GFXMODE=1980x1200x32
GRUB_GFXPAYLOAD_LINUX=1980x1200x32

Then update grub config:

sudo update-grub

and reboot your VirtualBox instance.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.