sudo with virsh
scar at drigon.com
Mon Feb 1 09:28:10 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
i have been reading the KVM guide at  to setup a WinXP virtual
machine, had a tough time figuring exactly what needed to be done for
9.04, but i finally got it installed and it's running really fast.
one of the things i had trouble figuring out was how to use virsh to
manage the VM. it seems i am required to use sudo for all of the virsh
commands, like starting and shutting down the VM. when i use the GUI
virtual machine manager (virt-manager), it doesn't start with admin
privileges, and so i can't do anything.... it doesn't find the VM's XML
file in /etc/libvirt/qemu because that file is owned by root and has
permissions 600. so i have to manually use 'sudo virt-manager' before i
can manage the VM.
seems to me something went wrong, and that i should be able to
manage/start/stop the VM without super-user privileges. any ideas?
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the ubuntu-users