美文网首页
virt-manager 遇到的问题记录

virt-manager 遇到的问题记录

作者: 缘觉如来 | 来源:发表于2019-08-03 09:42 被阅读0次

    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
    

    相关文章

      网友评论

          本文标题:virt-manager 遇到的问题记录

          本文链接:https://www.haomeiwen.com/subject/ovhykctx.html