(virt-manager:4796):クライアントはD-BUSデーモンに接続できません/ libvirtに接続できません

(virt-manager:4796):クライアントはD-BUSデーモンに接続できません/ libvirtに接続できません

Debian Wheezyの実行中にkvmまたはxenを使用してWindows 8を起動して実行したいと思います。私は実際に外部USBディスクにWindows 8をインストールし、SATAハードドライブにDebian Wheezyをインストールしました。仮想マシンマネージャを使用しようとしています。問題は、私はそれを動作させることができないということです。実際、私は次のように2つの異なる方法で実行してみました。

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.

このように:

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

しかし、これはどちらの場合も機能しません。問題を解決するための提案をいくつか提供できますか?ありがとうございます。

ベストアンサー1

おすすめ記事