How can I get VirtualBox to play nicely with dual monitors?

Solution 1:

According to this forum post and looking through the VirtualBox release notes this is only available to Windows Guests. I know the latest 3 release introduced huge improvements on the 3D rendering side and with OpenGL. I would assume this would be available in the near future.

And according to the 4.0 release notes, the feature is available!

Guest Additions: support for multiple virtual screens in Linux and Solaris guests using X.Org server 1.3 and later

Solution 2:

My solution involves running Ubuntu in headless mode and connecting through the Remote Desktop Connection tool. The display is full screen (no toolbars or menus) and spans both of my monitors. Here's what I did:

  1. Double video memory to 16 MB in VirtualBox display settings for the machine. Also enable "Remote Display" server. For some reason I couldn't use the default port of 3389.
  2. Run the machine in headless mode like this:

    VBoxHeadless.exe --startvm "Ubuntu 10.4 64-bit"

  3. Connect to the machine using the Remote Desktop Connection tool that comes with Windows.

    mstsc /span /v:192.168.1.2:3390

Solution 3:

The fullscreen display in both monitors can be easily done.
Luke Dubber managed it and it is explained here:
Steps:
1 - Install VirtualBox (its free, Windows, Linux and Mac)
2 - Once you have created your virtual machine (VM) edit your settings.
3 - Go to Display section and increase the Monitor Count.
4 - Make sure to increase your Video Memory. If you don’t it won’t work (I should know, took me a bit to figure out that was my issue). I would go with the maximum 128MB if possible.
5 - Install your OS (you can do this before step 3).
6 - Make sure to install the VirtualBox guest additions.
7 - Then reboot and once you are back in you should be able to use more than one.
To read from original link Click here:
Or go to the home page of Luke Dubber

The seamless mode is something I'm battling with also and haven't seen an answer to yet.

Solution 4:

Assuming you have the guest additions... You can get an approximate full screen across 2 monitors if you edit your xorg.conf file (I run FC11... I'm not sure if ubuntu uses xorg.conf?) and then just manually stretch the window to fill both. This definitely isnt ideal, but it does get you more visible desktop space.

I have two monitors in windows they run at 1440x900 and 1280x1024 respectively. The setup below allows a max screen size of 32000x32000.

You then just have to change the display and drag it out.

---------------/etc/X11/xorg.conf----------------------------------
 Default xorg.conf for Xorg 1.5+ without PCI_TXT_IDS_PATH enabled.
#
# This file was created by VirtualBox Additions installer as it
# was unable to find any existing configuration file for X.

Section "Device"
        Identifier      "Configured Video Device"
        Driver          "vboxvideo"
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Generic Monitor"
    Device      "VirtualBox graphics card"
    DefaultDepth    24
    SubSection "Display"
      Depth 24
      Modes     "1440x900" "1280x1024" "2720x1024"
    EndSubSection
EndSection
---------------------------