1.非root用戶ssh遠程登錄,執(zhí)行命令:virt-manager 報如下錯誤:
libvirtError: authentication unavailable: no polkit agent available to authenticate action 'org.libv
執(zhí)行命令:
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.創(chuàng)建虛擬機時報權(quán)限錯誤: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