Old 12th June 2009, 10:35
ripit ripit is offline
Junior Member
Join Date: Nov 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Kvm networking


I'm running kvm on ubuntu 9.04 and I can't get networking to work when I start as user and not root. If I add user to group libvirtd it works. I have a setup with a bridge and I would like for the user to start their own vm either by virsh ot virt-manager.

If I run it with:

virsh --connect qemu:///system

as root or if the user is a member of libvirtd it works but i would like it run it like this:

virsh --connect qemu:///session

so that the user can setup and run its own vm from his home catalog.
When i run it as user and connect to session then I'm not allowed to connect to br0, that is my bridge.

Because everything works fine when I'm root I think it has something to do with setting the rights, but I don't know where to look.

If someone has any suggestions I would be very happy.
Reply With Quote
Sponsored Links
Old 13th June 2009, 11:31
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

As far as I know, you must add the user to the libvirtd group.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 14th June 2009, 18:34
ripit ripit is offline
Junior Member
Join Date: Nov 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts

Yepp that's the problem. I would like each user to be able to run their own vm. If I add them to libvirtd they still can't run vms from their home directory. It must be someway to run a vm from the user dir with network functioning some setting file that I havae missed.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtualization With KVM On A CentOS 5.2 Server AdrianG HOWTO-Related Questions 4 21st April 2009 18:33
USB KVM switch slow mouse and keyboard mcardo Technical 0 2nd March 2009 05:25
KVM Over IP (Dell) edge Server Operation 2 2nd March 2009 01:06
About KVM installation satimis Server Operation 0 28th July 2008 05:39
The Perfect Xen 3.0 Setup For Debian - Virtual Networking Mito HOWTO-Related Questions 9 27th April 2006 17:33

All times are GMT +2. The time now is 20:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.