[virt-tools-list] Trying to connect vnc to a kvm console fails.
Thomas Schweikle
tps at vr-web.de
Sun Jan 30 20:24:25 UTC 2011
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
The vnc-server seems to use gssapi to encript the socket configured
in /etc/libvirt/qemu.conf, while the client (virt-manager) ignores
encription.
--
Thomas
More information about the virt-tools-list
mailing list