How to change resolution of the VirtualBox (Ubuntu guest and host)?

12,880

You need to install Virtualbox Guest Additions in the guest machine. You can do that by selecting "Install Guest Additions" in VirtualBox menu, and VirtualBox will automatically mount Virtualbox guest addition CD to the guest machine. If it is not mounted, you can do it manually by mapping VBoxGuestAdditions.iso to guest CD drive in VirtualBox device menu; the ISO should be found under /opt/VirtualBox . Once the ISO is mounted by the guest machine, you will see the CD icon in your guest desktop. Right click the icon, choose "Open with autorun prompt" and it will automatically compile and install kernel for your guest. That is it.

Having guest kernel addition installed, you will be able to change screen resolution from inside the guest machine, or you can use "Auto adjudst guest display" in VirtualBox "Machine" menu. I prefer to the latter.

I noticed however that some Ubuntu updates will disable/break guest kernel addition. When that happens, you just need to repeat the process above.

Share:
12,880

Related videos on Youtube

The Student
Author by

The Student

My main interests: Object Oriented Programming (mainly Java, Python and C++) Mobile development (Android and iOS) Artificial Neural Networks Philosophy

Updated on September 17, 2022

Comments

  • The Student
    The Student over 1 year

    How can I change the resolution in the VirtualBox (Ubuntu guest and host)?

    I remember long time I ago I had used it and just by changing the guest system resolution it worked. But now it's not working.

    Any idea?

    I'm using VirtualBox 3.1.6 and Ubuntu 10.04.