[virt-tools-list] Trying to connect vnc to a kvm console fails.
Richard W.M. Jones
rjones at redhat.com
Sun Jan 30 22:47:53 UTC 2011
On Sun, Jan 30, 2011 at 09:24:25PM +0100, Thomas Schweikle wrote:
> Am 28.01.2011 23:40, schrieb Richard W.M. Jones:
> > 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.
>
> qemu+ssh://server.example.com works, while
> qemu+tcp://server.example.com doesn't
It's been a while since I tried this, but you may need to enable
the unencrypted socket. Try uncommenting
listen_tcp = 1 in /etc/libvirt/libvirtd.conf.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
More information about the virt-tools-list
mailing list