Red Hat Bugzilla – Bug 725679
virt-manager connects to vino instead of the kvm VNC port
Last modified: 2013-07-11 14:26:46 EDT
Description of problem:
I am running both KVM and Vino on my F15 workstation. I have one Windows VM. Whenever I try to open the console for this VM, virt-manager connects to Vino rather than the KVM VNC port.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a VM in virt-manager
2. Enable Vino
4. Start the VM and try to open console
Virt-manager shows my F15 Gnome desktop
Virt-manager should show the desktop of the VM (Windows in my case)
[root@dev402 ~]# netstat -anpt | grep qemu
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 14814/qemu-kvm
[root@dev402 ~]# netstat -anpt | grep vino
tcp 0 0 :::5900 :::* LISTEN 10413/vino-server
libvirt has some detection logic to try and avoid this case, something must be busted though. reassigning to libvirt
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
> # netstat -anpt | grep qemu
> tcp 0 0 127.0.0.1:5900 0.0.0.0:*
> LISTEN 14814/qemu-kvm
> # netstat -anpt | grep vino
> tcp 0 0 :::5900 :::*
> LISTEN 10413/vino-server
Two things spring to mind
- As cole notes it ought to still be possible for virt-manager to connect to the right VNC server, if it explicitly uses 127.0.0.1
- I'm rather surprised vino was still actually able to bind to '::' with QEMU holding 127.0.0.1 - I would understand it if vino had bound to an explicit address, but I expected wildcard address bind to be mutually exclusive with other address binds.
I'm pretty sure this is still relevant, so moving to F17
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
On F19, vino does:
$ netstat -anp | grep 5900
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 7314/vino-server
tcp6 0 0 :::5900 :::* LISTEN 7314/vino-server
And that seems to be enough to trigger libvirt's detection for me, so closing as CURRENTRELEASE.