manjaro 添加当前用户到kvm

原贴

https://askubuntu.com/questions/1050621/kvm-is-required-to-run-this-avd

Check the ownership of /dev/kvm

ls -al /dev/kvm
Check which users are in the kvm group

grep kvm /etc/group
Output from the above command

kvm:x:some_number:
If there is nothing rightwards of the final :, there are no users in the kvm group.

To add the user your_name to the kvm group

sudo adduser your_name kvm
which adds the user to the group, and check once again with grep kvm /etc/group.

A restart may be required for the permissions to take effect.

 

posted on 2019-04-07 10:36  c3tc3tc3t  阅读(669)  评论(0编辑  收藏  举报