Bug 50495 - gvir_connection_get_node_info: assertion 'GVIR_IS_CONNECTION(conn)' failed
Summary: gvir_connection_get_node_info: assertion 'GVIR_IS_CONNECTION(conn)' failed
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: gnome-boxes (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-29 19:39 MSK by Vyacheslav
Modified: 2024-05-29 19:48 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^