[root@adama qemu]# virsh vncdisplay valk-bThis assumes you have X Window support.
:3
[root@adama qemu]# vncviewer 127.0.0.1:3
Wednesday, November 19, 2008
KVM "TCP/IP error: VNC"
I got an error when attempting to use virt-manager to connect to the console of a virtual machine. TCP/IP error: VNC connection to hypervisor host got refused or disconnected! This seem to be from spawning a new console too fast after closing a console to the same machine. Here's a work-around:
Subscribe to:
Post Comments (Atom)
This comment has been removed by a blog administrator.
ReplyDeleteThank you!
ReplyDeleteHi, and first thank you for the tip.
ReplyDeleteI just like to give an other eventual solution that actually worked for me : Verify that in virt-manager application you have a local connection to qemu enabled. To do such a thing :
File/Add Connection...
Hypervisor=QEMU and Connection=LOCAL
Regards
Right-click your hostname at the top. Click 'disconnect', then re-connect. That fixed it for me. Though, I'm curious why this would happen in the first place...
ReplyDeletei got the same error by accidentally delete "localhost" from my /etc/hosts file,none of virtual machines worked,so i put it back where it was, n works fine,.. let me know if it works for you
ReplyDelete127.0.0.1 redhat6.pak.com redhat6 localhost localhost.localdomain localhost4 localhost4.localdomain4
regards
my virtual machine give me message vnc connection to hyperwiser host got refused give me please give me solution my email id subodh.solanki2125@gmail.com
ReplyDelete