Profile picture for Admin

/dev/kvm permission denied.

After updating Ubuntu to 18.04 version you should install qemu-kvm

sudo apt install qemu-kvm

Check the owner of /dev/kvm 

ls -al /dev/kvm

It should return User root, group kvm.
To check which users are in kvm group:

grep kvm /etc/group

It should return something like that:

kvm:x:some_number:

There was not a value after the last colon after I've updated my OS. This means that no users are present in kvm Group.

To add your user to kvm Group use the command:

sudo adduser $USER kvm

Check if the user was added:

grep kvm /etc/group.

 

If after those actions you still see an error message - try to re-login to make user permission refreshed.

Коментувати

Вміст цього поля є приватним і не буде доступний широкому загалу.
  88888888b         dP   88888888b  dP    dP   888888ba  
88 88 88 Y8. .8P 88 `8b
a88aaaa 88 a88aaaa Y8aa8P a88aaaa8P'
88 88 88 d8' `8b 88 `8b.
88 88. .d8P 88 88 88 88 88
dP `Y8888' dP dP dP dP dP

Уведіть код, зображений у стилі Ascii-Арт.