I recently installed Ubuntu Hardy Heron via VirtualBox on my MacBook. Everything worked great except I only had the option of 800×600 and 640×480 for screen resolution. However, my MacBook’s resolution goes up to 1280×800. To get the maximum resolution, edit xorg.conf and restart. See the code below for the edits.
To edit the xorg.conf file. Fire up the terminal in Ubuntu and type:
$ sudo gedit /etc/X11/xorg.conf
Then find and replace the following:
Section "Device" Identifier "Configured Video Device" Driver "vboxvideo" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Generic Monitor" Device "VirtualBox graphics card" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x800" "800x600" "640x480" EndSubSection EndSection
- Finally, restart Ubuntu and enjoy!

2 Responses to “Ubuntu Resolution Fix using VirtualBox on MacBook”