
Virtual machines (VMs) are great. They allow you to run additional operating systems, each in its own individual window, on the same computer.
For example, you can run another Linux distribution or Windows without replacing your existing operating system.
There’s plenty of choice out there, including VMware, Parallels and VirtualBox.
Last updated: November 20, 2026.
Linux users also have the option of using KVM/QEMU/libvirt and a graphical client like Virt-Manager.
Virt-Manager is not the only graphical client that works with libvirt. There are other clients out there, and one of them is the subject of today’s tutorial: GNOME Boxes.
Just like Virt-Manager, GNOME Boxes uses KVM/QEMU/libvirt. However, unlike Virt-Manager, Boxes focuses on simplicity rather than exposing every possible configuration option.
And that’s not necessarily a bad thing.
So, let’s take a look at how to install and use GNOME Boxes.
NOTE: The screenshots in this tutorial are from the original February 2022 article. Recent versions of GNOME Boxes may have different interface elements and menu names, but the general workflow remains similar.
ALSO READ:
- HOW TO: Use KVM/QEMU/Virt-Manager to Set Up Virtual Machines
- HOW TO: Create Disposable VMs in VirtualBox, GNOME Boxes and KVM/QEMU/Virt-Manager
Requirements
Before installing GNOME Boxes, make sure your computer supports hardware virtualization and that it is enabled in your BIOS or UEFI settings.
You’ll also need enough RAM and available disk space for both your host operating system and the virtual machine you want to create.
After installing the native version of Boxes, you can check virtualization support by running:
gnome-boxes --checks
Installation
GNOME Boxes is available in the official repositories of many Linux distributions. Installing it from your distribution’s repository should also install the required dependencies.
On Arch Linux and EndeavourOS:
sudo pacman -S gnome-boxes
On Debian or Ubuntu:
sudo apt install gnome-boxes
On Fedora:
sudo dnf install gnome-boxes
If you prefer, Boxes is also available as a Flatpak.
With Flatpak installed and Flathub configured, run:
flatpak install flathub org.gnome.Boxes
Keep in mind that the native and Flatpak versions may differ in terms of filesystem access, storage locations and integration with other virtualization tools.
How to Create a Virtual Machine
When you first run Boxes, you’ll get a simple UI. No bells, no whistles.

If you click on the menu in the top right corner, you can check out the available keyboard shortcuts.


To create a virtual machine, simply click on the + button in the top left corner of the window.

NOTE: If you already have ISO files downloaded on your computer, Boxes may automatically detect them.

Download an Operating System
Here’s where the fun begins. Boxes gives you the option to download operating system images or use your own.
If you’re looking to install something other than the featured operating systems, click on Operating System Download under Select OS Source, or the equivalent option in your version of Boxes.
You will see a list of supported operating systems that can be downloaded directly. The available distributions and versions may change over time.

Choose the operating system you want to install and Boxes will download the installation image.
Once the download has finished, Boxes will prompt you to customize the VM and start the installation.

Use Your Own ISO Image
If you want to install your own downloaded ISO, select the option to use a local operating system image file.
This will allow you to browse your filesystem and choose the manually downloaded ISO file.
Always download operating system images from their official websites and, where available, verify their checksums or signatures.
Depending on the OS you want to install, Boxes might not automatically detect the operating system. In that case, you may need to select the appropriate OS template manually if your version of Boxes provides that option.
For this demo, I’m going to install EndeavourOS, so I’m going to choose the Arch Linux template.


Configure the Virtual Machine
On the next screen, you’ll see a list of properties for the VM you’re trying to create.
Boxes allows you to configure resources such as RAM and disk capacity before starting the installation. Additional settings, including CPU allocation, are available in the VM’s preferences.
Don’t allocate all your available RAM or CPU resources to the guest operating system. Your host operating system needs resources to continue running as well.


Once you’re done customizing your VM, click on Create. Your VM will start and you can go through the operating system’s installation process.

When the installation is done, you can restart and start using your new VM.
Interface and Virtual Machine Settings
There are a couple of things you can do even while the VM is running. Here are a few worth pointing out.
Send Keyboard Shortcuts to the Guest
Using the keyboard shortcut menu in the VM window, you can send different key combinations directly to the guest machine.

Like accessing the TTY…

Adjust CPU, RAM and Storage
Click on the menu button and open the VM’s Preferences, called Properties in older versions.
Under the Resources tab, previously called System, you can adjust CPU, memory and storage settings.
Some hardware configuration changes may require the VM to be shut down.

Create and Restore Snapshots
The Snapshots tab allows you to create snapshots and restore your VM to a previous state.
Snapshots are particularly useful before installing unfamiliar software, applying major updates or experimenting with system configurations.
Keep in mind that a snapshot is not a substitute for a separate backup of your virtual machine.

Manage Multiple Virtual Machines
Clicking the back button in the top left corner allows you to return to the VM manager, even while a VM is running.
From there, you can access more options for existing virtual machines or create new ones.

Improving Guest Integration
Depending on what you need from your newly created VM, you might be perfectly fine with just installing the OS.
However, some things might not work out of the box, such as automatic resolution adjustment when resizing the VM window or sharing the clipboard between the host and guest.

Linux Guest Tools
For Linux guests using SPICE, install spice-vdagent inside the virtual machine, not on your host operating system.
On Arch Linux and EndeavourOS:
sudo pacman -S spice-vdagent
On Debian or Ubuntu:
sudo apt install spice-vdagent
On Fedora:
sudo dnf install spice-vdagent
Restart the guest operating system after installation.
Depending on your guest desktop environment, display protocol and Boxes version, the guest agent can provide automatic display resizing, clipboard sharing and improved input integration.
Windows Guest Tools
If you’re using Windows as your guest operating system, consult the official guest tools instructions or download the appropriate SPICE guest tools inside the VM.

Share Files Between Host and Guest
Depending on your guest tools and operating system, Boxes supports clipboard sharing and file transfers.
For more flexible file transfers, you can configure a shared folder that both your host and guest can access.
On Linux guests using SPICE, install the package that provides spice-webdavd. Its name varies depending on your distribution.
On Arch Linux and EndeavourOS, the relevant package is phodav:
sudo pacman -S phodav
On Debian or Ubuntu:
sudo apt install spice-webdavd
Restart the guest operating system after installation.
With the VM running, open its preferences.

Navigate to Devices & Shares and look for the Shared Folders section, called Folder Shares in older versions.
Click the + button to add a folder from your host machine that you want to share with the guest.


You should now be able to access the shared folder from inside the guest machine using a compatible file manager.
If the Spice client folder device doesn’t show up immediately, try refreshing the file manager and checking that the guest sharing service is running.


NOTE: Shared folders and clipboard integration reduce isolation between the host and guest. If you’re using a VM to test potentially dangerous software, disable unnecessary sharing features and avoid exposing sensitive host files.
Where Does GNOME Boxes Store Virtual Machines?
By default, the native version of GNOME Boxes stores virtual machine disk images in:
~/.local/share/gnome-boxes/images/
The Flatpak version uses a separate application data directory. Check the actual storage location before moving or backing up files.
Since I’m running Linux as a daily driver on an iMac, storage space was one of the reasons I originally looked into moving virtual machine images to a second drive.
Before moving any virtual machine disk, completely shut down the VM and create a backup of both its disk image and configuration.
Moving an image without updating its configuration or maintaining a valid path to the image can prevent the VM from starting.
A symbolic link may work with native installations, provided the destination is accessible and has the appropriate permissions. However, this approach may not work with every installation, particularly when using Flatpak.
For more information, consult the official documentation on disk image locations and backing up and moving virtual machines.
GNOME Boxes vs Virt-Manager
GNOME Boxes is an excellent option if you’re looking for a simple way to create and manage virtual machines on Linux.
If you need more advanced control over networking, storage, virtual hardware or device passthrough, you might prefer Virt-Manager.
That’s pretty much all the information you need to get up and running with GNOME Boxes.
It’s definitely an alternative to VirtualBox, and if you like to mess around with virtual machines, I think you should give it a try.
For more information and troubleshooting, check out the official GNOME Boxes documentation.

