1.非root用户ssh远程登录,执行命令:virt-manager 报如下错误:
libvirtError: authentication unavailable: no polkit agent available to authenticate action 'org.libv
执行命令:
sudo usermod --append --groups libvirt `whoami`
2.使用命令:virt-manager报错误:(virt-manager:12205): Gtk-WARNING **: cannot open display:
使用下面的方式连接
ssh -Y deepin@10.0.13.210 virt-manager
3.创建虚拟机时报权限错误:monitor: Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission
修改/etc/libvirt/qemu.conf,
#user="root"
user="root"
#group="root"
group="root"
sudo systemctl restart libvirtd.service