I followed the article and it seemed I installed everything successfully. But when I select “Bridge device” under Network selection it gave me an error. Could someone please help? Thanks a lot!
Unable to complete install: '/usr/lib/qemu/qemu-bridge-helper --use-vnet --br=ubuntu22.04 --fd=32: failed to communicate with bridge helper: stderr=access denied by acl file
: Transport endpoint is not connected'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
^^^^^^^^^^^^^^^^^^^
File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libvirt.py", line 4523, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: /usr/lib/qemu/qemu-bridge-helper --use-vnet --br=ubuntu22.04 --fd=32: failed to communicate with bridge helper: stderr=access denied by acl file
: Transport endpoint is not connected
It’s a permission issue, double check and make sure you went through the “Run Virt-Manager as normal user (recommended)” section properly. I would also double check all the other steps as well, just in case.
There is some additional info on a possible fix here.
I did, all seem correct. But there’s errors when I ran this command:
[apache@um480xt ~]$ sudo virsh net-autostart default
[sudo] password for apache:
error: failed to connect to the hypervisor
error: Cannot recv data: Connection reset by peer
Honestly, I’m not quite knowledgeable enough to see what’s going wrong. I personally would uninstall all the packages and start over. You never know, you might have missed something originally. Wish I could help more, sorry
After an attempt at installing it in a VM I actually ran into the same error you did. I thought about maybe setting it as a default connection initially and changing it later but I can’t find my way through the UI. I’m too used to Virtual Box
Igen, de tegnap én is belefutottam kezdő virt-manager használóként hasonló ágba.
Bocs, a neved alapján gondoltam nekünk is kijár a saját nyelv használata (nem csak a németeknek).
Bár, lehet, hogy felületes vagyok. Nem is neteztem VM-ből.
edit: @mihalycsaba Yes, to be honest I started using virt-manager 14 hours ago.
I was happy to access net using QEMU/KVM.
It’s not explained in the eOS wiki what swtpm is, something is missing, I just removed everything I added from the wiki to qemu.config. Then I managed to start the daemon and connect to the system session. Right now at least I have the default network. Was your bridge device name correct? Did you manage to fix this?
Not yet, I don’t see any network (not even default) showing up under the user session. I think I will use the root session. But still need to set up bridge on the host itself, looking for some solid write-up and youtube videos on this. If someone can update the EnOS wiki, it would be very much appreciated!
The default network is only available on the system session afaik. Definitely try the system session, I think it would solve the permission errors with bridge device too. You can check the available networks in virt-manager, at least the default should be there in the system session.
I have described here how I reached the guest without a bridge or macvtap just on the default network.
as for libvirtd try sudo journalctl -u libvirtd.service | eos-sendlog
as bridge… once of a time my wifi didnt work, but now it works what exactly it is i dont know. first i thought some devices can’t be bridges… as my qemu install is not minimal to
@apachecai what’s the issue, did you try the system(root) session, can you confirm if you see the default network at least? It should be only available in the system session. In user session I can connect to the internet, I just can’t access the vm from host and I can’t list any networks.
[csaba@csaba-mini ~]$ systemctl start libvirtd
[csaba@csaba-mini ~]$ virsh net-list --all
Name State Autostart Persistent
----------------------------------------
[csaba@csaba-mini ~]$ sudo virsh net-list --all
Name State Autostart Persistent
------------------------------------------------
default active yes yes
macvtap-net active yes yes