grant current user access to /dev/kvm
first install dependecies of kvm from android studio site then execute following command
Add your user to kvm group using:
sudo adduser $USER kvm
If still showing permission denied:
sudo chown $USER /dev/kvm
grant current user access to /dev/kvm
first install dependecies of kvm from android studio site then execute following command
Add your user to kvm group using:
sudo adduser $USER kvm
If still showing permission denied:
sudo chown $USER /dev/kvm
where is /dev/kvm
This is how I got it to work in Ubuntu 18.04
1. Install qemu-kvm
$sudo apt install qemu-kvm
2. Add your user to kvm group using:
$sudo adduser <Replace with username> kvm
3.If still showing permission denied:
$ sudo chown <Replace with username> /dev/kvm
This works!
grant current user access to /dev/kvm
To check the ownership of /dev/kvm use
ls -al /dev/kvm
The user was root, the group kvm. To check which users are in the kvm group, use
grep kvm /etc/group
This returned
kvm:x:some_number:
on my system: as there is nothing rightwards of the final :, there are no users in the kvm group.
To add your user to the kvm group, you could use
sudo adduser $USER kvm
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us