[Pkg-libvirt-maintainers] Bug#1072723: libvirt0: qemu:///session not connected after login
Francesco C
fc.linuxuser at gmail.com
Fri Jun 7 11:22:16 BST 2024
> After upgrade to 10.4.0 I have to start my "local session" using
> virsh -c qemu:///session connect
This does not work for me ; it works only if a prepend sudo ; root is
the only user that has access to qemu:///session which is a paradox
because users like me are using qemu:///session (for trying) to avoid
unwanted privileged access.
virsh -c qemu:///session connect
error: cannot connect to hypervisor
error: cannot receive data : connection reset by peer
I obtain this message with virt-manager :
Unable to connect to libvirt qemu:///session.
Cannot receive data : Connection reset by peer
Libvirt URI is: qemu:///session
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 923,
in _do_open
self._backend.open(cb, data)
File "/usr/share/virt-manager/virtinst/connection.py", line 171, in open
conn = libvirt.openAuth(self._open_uri,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/libvirt.py", line 147, in openAuth
raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Cannot receive data : Connection reset by peer
The wiki of libvirt treats some "cannot connect to hypervisor" common
causes, but there's no reference to connection reset by peer.
More information about the Pkg-libvirt-maintainers
mailing list