Chinaunix

标题: virt-manager无法连接虚拟机 [打印本页]

作者: david2878    时间: 2013-08-03 14:46
标题: virt-manager无法连接虚拟机
在centos6.4上安装kvm,用virt-manager管理虚拟机,发现在连接虚拟机时报如下错误
Error: viewer connection to hypervisor host got refused or disconnected!
在网上搜了半天没有找到具体解决方案,请各位前辈指点。
作者: playniuniu    时间: 2013-11-15 00:09
在centos中,你需要确保 /etc/hosts 文件中的 127.0.0.1 与 localhost 对应

标准的配置文件如下

127.0.0.1   localhost   localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost   localhost.localdomain localhost6 localhost6.localdomain6

我就是改了这个,出了错,改回来,就好了
作者: david2878    时间: 2013-11-28 13:39
:wink:谢谢,按照你的方法搞定。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2