[virt-tools-list] Trying to connect vnc to a kvm console fails.

Richard W.M. Jones rjones at redhat.com
Fri Jan 28 22:40:45 UTC 2011


On Fri, Jan 28, 2011 at 01:08:27AM +0100, Thomas Schweikle wrote:
> I try to connect over a network to an kvm console. I use
> virt-manager, start the virtual machine, but then I am told:
> 
> The VNC-Connection to the hypervisor wasn't accepted or got
> interrupted.
> 
> (not quite sure if this is correct, since the message is in german:
> "Fehler: Die VNC-Verbindung zum Hypervisor wurde abgelehnt oder
> getrennt").
> 
> This is quite bad, since it is impossible to install an OS on the
> kvm-system!
> 
> Kerberos is enabled for libvirtd and it is working. Where can I
> look, why I can't connect to the running vnc server (there is one
> running for the VM in question on all interfaces, port 5900).

TBH I'd file a bug about this giving all the details.

It's not clear if by "over a network" you mean that you are connecting
from a local virt-manager to a remote libvirt, or you're using ssh + X
forwarding.  I use the latter, always, and it works for me.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the virt-tools-list mailing list