Wednesday, July 5, 2017

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



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.



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.



No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...