mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
qemu-system-x86_64: failed to initialize kvm: Permission denied #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0x8f701 on GitHub (Jun 24, 2020).
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
qemu-system-x86_64: warning: dbind: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-LW022K2LIb: Connection refused
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize kvm: Permission denied
@0x8f701 commented on GitHub (Jun 24, 2020):
I followed all the instructions but still it gives me this error
@sickcodes commented on GitHub (Jun 24, 2020):
OS?
@0x8f701 commented on GitHub (Jun 24, 2020):
@sickcodes sorry it's Linux mint v19.3 cinamon
@sickcodes commented on GitHub (Jun 24, 2020):
try all the troubleshooting instructions
namely, try
sudo chmod 666 /dev/kvm@0x8f701 commented on GitHub (Jun 26, 2020):
@sickcodes works like a charm thanks
@netsafe commented on GitHub (Nov 17, 2022):
The only right way is to add the unprivileged user to kvm group, do not make chmod 666 ! Instead, do this as a root
usermod -a -G kvm yourUserName