Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

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|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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