(virt-manager: 4796): O cliente falhou ao conectar-se ao daemon D-BUS / Não foi possível conectar-se ao libvirt

1

Eu gostaria de inicializar e executar o Windows 8 com kvm ou xen enquanto estou executando o Debian Wheezy. Na verdade eu instalei o Windows 8 no disco USB externo e o Debian Wheezy no disco rígido sata. Estou tentando usar o gerenciador de máquinas virtuais. O problema é que não consigo fazer funcionar corretamente. De fato, eu tentei lançá-lo de duas maneiras diferentes, assim:

root@localhost:/home/marietto# virt-manager --no-fork

p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module
/usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

from dbus.mainloop.glib import DBusGMainLoop

DBusGMainLoop(set_as_default=True)

import dbus.glib

(virt-manager:4796): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

e assim:

marietto@localhost:~$ virt-manager --no-fork

Unable to connect to libvirt.

Verify that the 'libvirtd' daemon is running.

Libvirt URI is: qemu:///system

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1185, in _open_thread
self.vmm = self._try_open()
File "/usr/share/virt-manager/virtManager/connection.py", line 1167, in _try_open
flags)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': File o directory non esistente

mas não funcionou nos dois casos. você pode me dar alguma sugestão para resolver o problema? obrigado.

    
por Marietto 25.02.2015 / 12:01

0 respostas