VirtualBox notes

From Noah.org
Revision as of 12:50, 21 October 2008 by Root (talk | contribs)
Jump to navigationJump to search


Install Guest Additions

This is the equivalent of VMware or Parallels Tools. Under VirtualBox application menu go to: "Devices | Install Guest Additions...". This will cause a virtual CD-ROM ISO to be mounted on your guest Linux system. From inside the guest you just run a simple installer script:



Guest video resolution

Edit /etc/X11/xorg.conf and replace the file with the following. You can try other resolutions besides 1024x768. Mode "1440x900" is for a MacBook Pro and mode "1680x1050" is for a Dell E228WFP display.

Section "Device"
   Identifier   "Configured Video Device"
   Driver    "vboxvideo"
EndSection
Section "Monitor"
	Identifier	"Configured Monitor"
EndSection
Section "Screen"
   Identifier    "Default Screen"
   Device    "VirtualBox graphics card"
   Monitor    "Generic Monitor"
   DefaultDepth    24
   SubSection "Display"
     Depth    24
     Modes      "1024x768"
#     Modes      "1024x768" "1440x900" "1680x1050"
   EndSubSection
EndSection

Restart the guest.

For reference, the default xorg.conf file looks like this:

Section "Device"
    Identifier  "Configured Video Device"
EndSection

Section "Monitor"
    Identifier  "Configured Monitor"
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
EndSection