GNOME boxes does not create VM

Bug #2019254 reported by Hopscotch Willie
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-boxes (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I try to install a VM from an ISO file, GNOME boxes' create button is greyed out.

I'm on Ubuntu 23.04, kernel 6.2.0-20-generic.

~$ gnome-boxes --checks

(gnome-boxes:4306): Boxes-WARNING **: 21:14:47.596: util-app.vala:442: Failed to execute: virsh capabilities

(gnome-boxes:4306): Boxes-WARNING **: 21:14:47.600: util-app.vala:422: Failed to execute child process ?restorecon? (No such file or directory)
• The CPU is capable of virtualization: yes
• The KVM module is loaded: yes
• Libvirt KVM guest available: no
• Boxes storage pool available: no
    Could not get “gnome-boxes” storage pool information from libvirt. Make sure “virsh -c qemu:///session pool-dumpxml gnome-boxes” is working.
• The SELinux context is default: no

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: gnome-boxes 44.1-1ubuntu3
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu May 11 21:49:37 2023
InstallationDate: Installed on 2023-04-22 (19 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
SourcePackage: gnome-boxes
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hopscotch Willie (hopscotch-willie) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-boxes (Ubuntu):
status: New → Confirmed
Revision history for this message
Jesse M Darnley (jmdarn) wrote :

I believe I have found a solution to this. Could you test installing the libvirt-daemon-system package and rebooting?

Revision history for this message
Hopscotch Willie (hopscotch-willie) wrote :

@jmdarn You are right, I installed as asked and now I'm able to create VM's in gnome-boxes. Thank you for your help!

Revision history for this message
John Kizer (johnandmegh) wrote :

Installing libvirt-daemon-system also worked for me on Ubuntu Desktop 23.10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.