我正在使用 MX Linux,但在 virt-manager 中启用 3d 加速时遇到问题。我通过选中Display Spice
部分中的 OpenGL 框,然后Virtio
在Video
部分中进行选择来启用 3d 加速,但之后如果我尝试启动虚拟机,则会收到此错误:
Error starting domain: internal error: process exited while connecting to monitor
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: internal error: process exited while connecting to monitor
我发现如果我在 /etc/libvirt/qemu.conf 中将“用户”和“组”从“libvirt-qemu”更改为“root”,则启动虚拟机时不会出现此错误,但我只看到黑屏当机器启动时。