
On 02/04/2010 11:54 AM, Stephen Liu wrote:
------------------------------------------------------------------------ *From:* Cole Robinson <crobinso@redhat.com> *To:* Stephen Liu <satimis@yahoo.com> *Cc:* libvirt-users@redhat.com *Sent:* Thu, February 4, 2010 5:45:17 AM *Subject:* Re: [libvirt-users] virt-manager can't start
Host - Debian 5.0
- snip -
Firstly, delete ~/.virt-manager, and let the app create it with correct permissions. Second, make sure libvirtd is installed and running. Finally, when virt-manager is running, make sure it is connecting to the qemu:///system connection: there should be a row name 'qemu' in the main window, right click -> connect. This should ask for the root password.
If the qemu row isn't there for some reason, you can use File->Open Connection to connect.
$ rm -rf .virt-manager
Gnome Applications -> System Tools -> Virtual Machine Manager
qemu is not there instead "localhost" displayed. Clicking it drops down all VMs
Yeah, that's the row I mean. If it opens and shows VMs, sounds like that is what you want. It might not be asking for root passwd twice because it is caching the auth credentials: depends on what policykit version is installed. virt-manager only asks for the root passwd to connect to the libvirt qemu driver: sounds like it is doing that, so not sure if there is something else you want.
Virtual Machine Manager File -> No "Open Connect". Only "Add Connection"
Add connection is what I mean, sorry.
$ apt-cache policy libvirt W: Unable to locate package libvirt
$ apt-cache policy libvirtd W: Unable to locate package libvirtd
$ apt-cache search libvirtd No printout
$ apt-cache search libvirt collectd - statistics collection and monitoring daemon libvirt-bin - the programs for the libvirt library libvirt-dev - development files for the libvirt library libvirt-doc - documentation for the libvirt library libvirt0-dbg - library for interfacing with different virtualization systems libvirt0 - library for interfacing with different virtualization systems python-libvirt - libvirt Python bindings libvirt-ocaml-dev - OCaml bindings for libvirt libvirt-ocaml - OCaml bindings for libvirt munin-libvirt-plugins - Munin plugins using libvirt virtinst - Programs to create and clone virtual machines
$ apt-cache policy libvirt0 libvirt0: Installed: 0.4.6-10 Candidate: 0.4.6-10 Version table: 0.6.5-3~bpo50+1 0 1 http://www.backports.org lenny-backports/main Packages *** 0.4.6-10 0 500 http://ftp.hk.debian.org lenny/main Packages 100 /var/lib/dpkg/status
libvirtd NOT found
Sorry, I don't know what package libvirtd is in on debian based systems. - Cole