Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

VirtualBox Dual Monitor Setup: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. Prerequisites and Preparation
  2. Step-by-Step Configuration
  3. Adjusting Display Settings in the Guest
  4. Using the Virtual Machine Menu
  5. Common Problems and Fixes
  6. Comparison: Dual Displays vs. Seamless Mode
  7. Cost and Performance Considerations
  8. Frequently Asked Questions

This guide shows you how to configure a VirtualBox virtual machine to use two displays, letting you spread a guest operating system across two monitors. You'll learn the exact settings to change and the steps to follow for both Windows and Linux hosts, plus how to troubleshoot common issues.

Prerequisites and Preparation

Before you start, make sure you have:

  • VirtualBox 6.0 or newer (older versions have limited multi-monitor support).
  • A guest operating system that supports multiple monitors (Windows 7+, most Linux distributions with a modern desktop environment, macOS guests are not officially supported).
  • At least 128 MB of video memory per display, but more is better (the default is often 128 MB, which works for basic use).
  • Your host machine must have enough graphics processing power to handle rendering two virtual displays simultaneously.
  • Both monitors should be connected to your host computer and set to extend the desktop (not mirror) in your host's display settings.

Step-by-Step Configuration

Follow these steps to enable dual displays for your virtual machine:

  1. Open VirtualBox and select your virtual machine from the list on the left. Do not start it yet.
  2. Click Settings (the gear icon) in the toolbar.
  3. Go to the Display section.
  4. In the Screen tab, set Video Memory to at least 128 MB. If your guest has a lot of visual effects, you may want 256 MB.
  5. Set Monitor Count to 2. This is the key setting that enables a second virtual display.
  6. Click OK to save the settings.
  7. Start the virtual machine. Once the guest OS boots, it should detect two displays.
  8. If the second display doesn't appear automatically, go to the guest's display settings (e.g., in Windows: Settings > System > Display) and click Detect. Then drag the virtual monitors to match your physical layout.

Adjusting Display Settings in the Guest

After the guest sees two displays, you can fine-tune how they work:

  • Resolution: Set each display to its preferred resolution. In Windows, right-click the desktop and choose Display Settings. In Linux, use the display settings in your desktop environment (e.g., GNOME Settings > Displays).
  • Orientation: If one monitor is rotated, you can change the orientation in the same settings panel.
  • Primary Display: Choose which display is the primary one (where the taskbar or dock appears).
  • Scale: If text is too small or large, adjust scaling per display (Windows) or fractional scaling (Linux).

Using the Virtual Machine Menu

You can also control displays from the VM window's menu bar:

  1. With the VM running, go to the View menu at the top of the VM window.
  2. You'll see a list of Virtual Displays. Check Virtual Display 2 to enable the second window. Each virtual display appears as a separate window on your host.
  3. You can also use View > Full-screen Mode (Host+F) to span both monitors. The VM will use all available host monitors.
  4. To exit full-screen, press Host+F again (Host is usually the Right Ctrl key).

Common Problems and Fixes

If dual displays aren't working, try these solutions:

  • Second display not detected: Make sure the Monitor Count is set to 2 in VM settings. Also, in the guest, check if the second monitor is disabled in the guest's display settings. Click "Detect" to force detection.
  • Black screen on the second display: This often happens when the guest doesn't have enough video memory. Increase Video Memory to 256 MB. Also, update the guest's graphics drivers (for Windows, install the VirtualBox Guest Additions, which include better display drivers).
  • Display resolution is stuck at a low value: Install VirtualBox Guest Additions. This package provides optimized drivers and enables features like seamless mode and better resolution support.
  • Full-screen mode only uses one monitor: In full-screen mode, press Host+Home to open the VirtualBox menu, then go to View > Virtual Displays and ensure both are enabled. Also, in the host's display settings, make sure the monitors are set to extend, not duplicate.
  • Performance issues: Running two displays increases the load on your CPU and GPU. Close unnecessary host applications, and consider reducing the resolution of the guest displays.

Comparison: Dual Displays vs. Seamless Mode

VirtualBox offers two ways to use multiple monitors:

  • Dual Displays (Monitor Count): The guest sees two separate monitors. Each is a separate window on the host. This is the most straightforward approach and works with any guest OS.
  • Seamless Mode: This hides the VM's desktop background and shows only the guest's windows directly on your host desktop. It can be used with multiple monitors, but it requires Guest Additions and can be more resource-intensive. It's not a replacement for dual displays; it's a different way to integrate the guest.

For most users, dual displays are the better choice because they keep the guest's desktop separate and easier to manage.

Cost and Performance Considerations

Dual displays in VirtualBox do not require any extra software or paid features; it's built into the free, open-source VirtualBox. The main cost is system resources:

  • RAM: Each display doesn't use much extra RAM, but the guest OS itself needs enough. Make sure you have at least 2 GB for a lightweight Linux guest, 4 GB for Windows 10/11.
  • Video Memory: 128 MB per display is the minimum; 256 MB is recommended for smoother rendering.
  • CPU/GPU: Rendering two displays can increase CPU usage by 10-20% depending on the guest's activity. If you have an integrated GPU, expect more impact.

Frequently Asked Questions

How do I enable dual monitors in VirtualBox?

Open the VM's Settings > Display > Screen, set Monitor Count to 2, and increase Video Memory to at least 128 MB. Then start the VM and detect the second display in the guest's display settings.

Why is my second monitor not detected in VirtualBox?

Make sure Monitor Count is set to 2. Also, in the guest OS, click "Detect" in the display settings. If that fails, install VirtualBox Guest Additions, which provides better display drivers.

Can I use dual monitors with any guest OS?

Most modern operating systems support multiple monitors, but some older or very lightweight OSes may not. Windows 7 and later, and most Linux distributions with a graphical desktop, work fine. macOS is not officially supported as a guest.

How do I make the second display appear as a separate window?

When the VM is running, go to View > Virtual Displays and check "Virtual Display 2". It will open a new window. You can drag that window to your second physical monitor.

Does using dual monitors slow down my VM?

Yes, it can. Rendering two displays increases CPU and GPU usage. To minimize impact, reduce the guest's resolution, close unnecessary host programs, and ensure you have enough RAM and video memory allocated.

Can I use three or more displays?

Yes, you can set Monitor Count to 3 or more, but each additional display consumes more resources. The maximum depends on your hardware and the guest OS.