Problem Description:
I am new to Gnome-Boxes, but I had a win10 VM working then attempted to clone it, at which point boxes appeared to be hung. after quite some time I tried to stop the clone process, but nothing worked from within the app. So I killed the app.
Now when I start Boxes, it starts up and immediately crashes.
I’m assuming I left something in a bad state (orphan lock file, or some such) but can’t figure out what, or how to solve it.
Relevant System Information:
Running on a brand new System76 Meerkat-10, 32 G RAM, 1T M2 drive, two monitors. CPU is Intel(R) Core™ Ultra 5 225H
(gnome-boxes:768374): Gtk-WARNING **: 18:14:15.445: GtkFlowBox with a model will ignore sort and filter functions
(gnome-boxes:768374): Gtk-WARNING **: 18:14:15.446: GtkListBox with a model will ignore sort and filter functions
Boxes-Message: 18:14:15.929: libvirt-machine.vala:274: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
(gnome-boxes:768374): Boxes-WARNING **: 18:14:15.930: libvirt-machine.vala:101: Failed to disable 3D Acceleration
(gnome-boxes:768374): Gtk-WARNING **: 18:14:15.940: Calling org.gnome.SessionManager.Inhibit failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Invalid inhibit flags
** (gnome-boxes:768374): CRITICAL **: 18:14:15.940: gvir_storage_vol_get_path: assertion 'GVIR_IS_STORAGE_VOL(vol)' failed
(gnome-boxes:768374): Boxes-WARNING **: 18:14:15.957: libvirt-machine.vala:101: Failed to disable 3D Acceleration
(gnome-boxes:768374): Boxes-WARNING **: 18:14:15.964: libvirt-broker.vala:164: Failed to find source machine of clone Win-10-vm 2
(gnome-boxes:768374): Boxes-CRITICAL **: 18:14:15.964: boxes_vm_importer_get_source_media: assertion 'self != NULL' failed
Segmentation fault (core dumped)
What I’ve Tried:
manually delete the VM. uninstall/reinstall Boxes. Try to find where boxes (and its subsidiary tools) keep lock files, etc. not necessarily in that order.
Before Posting:
I found one post with the same problem but saw no solution to it.
ii libvirt-daemon 8.0.0-1ubuntu7.13 amd64 Virtualization daemon
ii libvirt-daemon-driver-qemu 8.0.0-1ubuntu7.13 amd64 Virtualization daemon QEMU connection driver
ii libvirt-glib-1.0-0:amd64 4.0.0-2 amd64 libvirt GLib and GObject mapping library
ii libvirt-glib-1.0-data 4.0.0-2 all Common files for libvirt GLib library
ii libvirt0:amd64 8.0.0-1ubuntu7.13 amd64 library for interfacing with different virtualization systems
fredex@pop-os:~/Desktop$ dpkg -L libvirt-daemon-system | grep systemd
dpkg-query: package 'libvirt-daemon-system' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
fredex@pop-os:~/Desktop$ ls -ld /var/run/libvirt
ls: cannot access '/var/run/libvirt': No such file or directory
fredex@pop-os:~/Desktop$```
not much showing there, looks like you may be right! Odd that Gnome-Boxes appeared to be working (for some values of "working") before I commited my little faux pas, though.
Fred