RE: gnome-boxes-3.16.2 - "Libvirt KVM guest available: no"



$ G_MESSAGES_DEBUG=all gnome-boxes
(gnome-boxes:28147): Gtk-DEBUG: Connecting to session manager
(gnome-boxes:28147): Libvirt.GLib-DEBUG: Error: Failed to connect 
socket to
'/var/run/libvirt/libvirt-sock-ro': No such file or directory
(gnome-boxes:28147): Boxes-DEBUG: wizard-source.vala:285: Unable to 
open
qemu+unix:///system: Failed to connect socket to
'/var/run/libvirt/libvirt-sock-ro': No such file or directory
(gnome-boxes:28147): Boxes-DEBUG: app.vala:396: Failed to query 
'/home/tc/.cache/gnome-boxes/sources/QEMU Session': Error when getting 
information for file '/home/tc/.cache/gnome-boxes/sources/QEMU 
Session': No such file or directory. Assuming it doesn't exist.
...
Full output in the attachment, but it looks like the problem lies with 
the lack of /var/run/libvirt/libvirt-sock-ro?

Is libvirtd running as root?
You could also try running 'virsh -c qemu:///session list --all'
as a regular user before starting Boxes as there are known issue with
some libvirt versions with automatic startup of the user libvirtd.

libvirtd isn't running at all - shouldn't gnome-boxes start it (and create a
gnome-boxes pool) via dbus?

$ libvirtd -d -p /var/run/libvirt/libvirt-sock-ro
$ virsh -c qemu:///session.list
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro':
Connection refused

..the same thing happens if I start libvirtd as root.

$ G_MESSAGES_DEBUG=all gnome-boxes
(gnome-boxes:28707): Gtk-DEBUG: Connecting to session manager
(gnome-boxes:28707): Libvirt.GLib-DEBUG: Error: Failed to connect socket to
'/var/run/libvirt/libvirt-sock-ro': Connection refused
(gnome-boxes:28707): Boxes-DEBUG: wizard-source.vala:285: Unable to open
qemu+unix:///system: Failed to connect socket to
'/var/run/libvirt/libvirt-sock-ro': Connection refused



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]