This is addressed in the documentation. There's really no good way to do this automatically. Running 'newgrp libvirtd' to start a new shell from which to run virsh commands comes closest.
** Changed in: qemu-kvm (Ubuntu) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/736844 Title: kvm default install throws "Unable to open a connection to the libvirt management daemon" requires logout + login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/736844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs