Bug 50495

Summary: gvir_connection_get_node_info: assertion 'GVIR_IS_CONNECTION(conn)' failed
Product: Sisyphus Reporter: Vyacheslav <klevkov.va>
Component: gnome-boxesAssignee: Alexey Shabalin <shaba>
Status: CLOSED WORKSFORME QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: aris, lav, msp, shaba, shrek
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Vyacheslav 2024-05-29 19:39:25 MSK
p11, sudo gnome-boxes --checks:
• The CPU is capable of virtualization: yes
• The KVM module is loaded: yes

(org.gnome.Boxes:15619): dconf-WARNING **: 21:38:32.395: failed to commit changes to dconf: The connection is closed

Error setting up default broker: Не удалось открыть qemu+unix:///session: Не удалось подключить сокет к «/var/run/libvirt/libvirt-sock»: No such file or directory

(org.gnome.Boxes:15619): Boxes-WARNING **: 21:38:32.396: (../src/app.vala:440):boxes_app_setup_default_source_co: runtime check failed: (default_connection != null)

(org.gnome.Boxes:15619): dconf-WARNING **: 21:38:32.451: failed to commit changes to dconf: The connection is closed
** (org.gnome.Boxes:15619): CRITICAL **: 21:38:38.633: gvir_connection_get_node_info: assertion 'GVIR_IS_CONNECTION(conn)' failed
Comment 1 Vyacheslav 2024-05-29 19:47:54 MSK
sudo nano /etc/libvirt/libvirt.conf
mode = "legacy"
sudo systemctl restart libvirtd
Comment 2 Yuri N. Sedunov 2024-05-29 19:48:06 MSK
(Ответ для Vyacheslav на комментарий #0)
> p11, sudo gnome-boxes --checks:

Зачем sudo?

$ rpmq --queryformat '%{DESCRIPTION}\n' gnome-boxes
gnome-boxes lets you easily create, setup, access, and use:
  * remote machines
  * remote virtual machines
  * local virtual machines
  * When technology permits, set up access for applications on
    local virtual machines

How to setup Libvirt see https://www.altlinux.org/Libvirt_(Qemu+KVM+Virt-manager).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^