LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Starting KVM with public bridge as normal user under Debian/Ubuntu (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/starting-kvm-with-public-bridge-as-normal-user-under-debian-ubuntu-827052/)

sfxpt 08-18-2010 01:12 PM

Starting KVM with public bridge as normal user under Debian/Ubuntu
 
Hi,

I setup my KVM public bridge according to
https://help.ubuntu.com/community/KVM/Networking

But it doesn't say how I would start KVM with public bridge as normal
user. This is what I get:

Code:

$ kvm -net nic -net tap . . .
 could not configure /dev/net/tun: Operation not permitted

Starting the same command as root runs fine.

How do you manage to start KVM with public bridge as a normal user under Debian/Ubuntu?

HasC 08-18-2010 02:36 PM

probably your regular user doesn't have permissions to access the device /dev/net/tun

sfxpt 08-18-2010 10:14 PM

Quote:

Originally Posted by HasC (Post 4070545)
probably your regular user doesn't have permissions to access the device /dev/net/tun

Code:

$ ls -Al /dev/net/tun
crw-rw-rw- 1 root kvm 10, 200 2010-08-15 00:16 /dev/net/tun

and I'm in kvm group.

borisko 02-10-2011 08:37 AM

Did you find the solution?


All times are GMT -5. The time now is 11:11 AM.