this post was submitted on 30 Apr 2025
6 points (75.0% liked)

Linux

55009 readers
632 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Hi, folks! 👋

I want to create a local ip address for my virtual machine. I use virt-manager + QEMU. So, as I got it - I need to create a bridge for doing this. But... When I'm trying to connect a created bridge to a virtual machine:

Then trying to start a virtual machine, I gets this error:

Ошибка запуска домена: /usr/lib/qemu/qemu-bridge-helper --use-vnet --br=br0 --fd=32: failed to communicate with bridge helper: stderr=failed to create tun device: Operation not permitted
: 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/asyncjob.py", line 108, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
    self._backend.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1373, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: /usr/lib/qemu/qemu-bridge-helper --use-vnet --br=br0 --fd=32: failed to communicate with bridge helper: stderr=failed to create tun device: Operation not permitted
: Transport endpoint is not connected

For creating bridges I use the standard network manager for Xfce:

I use MX Linux operating system for the host machine.

So, what do I do wrong, and how can I fix this problem? 🤔

you are viewing a single comment's thread
view the rest of the comments
[–] HungryLemon@lemmings.world 1 points 1 month ago* (last edited 1 month ago) (1 children)

I checked the groups of my user, and my user is already in the netdev group 🤔

Maybe I need to add it to another group?

[–] just_another_person@lemmy.world 1 points 1 month ago

The easiest test is to run the creation commands as sudo or root. If it works, then you need a different permissions setup. You didn't mention any specifics about your distro permissions setup.