[virt-tools-list] virt-manager cannot connect to remote guest using tcp (no tunnel)

Eric Blake eblake at redhat.com
Wed Jan 23 18:13:22 UTC 2013


On 01/23/2013 10:08 AM, Patrice Coste wrote:
> 
> Hi all,
> 
> Problem: virt-manager cannot connect to a remote guest console using tcp
> Step to reproduce: any connection to remote host using tcp (not using remote tunnel/ssh)
> 
> Log:
> 
> [mer., 23 janv. 2013 15:17:32 virt-manager 7472] DEBUG (console:1116) Starting connect process for proto=vnc trans=tcp connhost=<remotehost> connuser=<admin> connport=None gaddr=127.0.0.1 gport=5901 gsocket=None
> [mer., 23 janv. 2013 15:17:32 virt-manager 7472] DEBUG (console:412) VNC connection to 127.0.0.1:5901
> 
> Of course, "VNC connection to 127.0.0.1:5901" fails,
> Bug is in console.py : host, port = ginfo.get_conn_host() => returns 127.0.0.1 instead of <remotehost>
> 
> (I fixed it with a quick/dirty patch OK for my needs)

Would you care to share your patch, in case it happens to be usable as a
starting point for fixing the issue correctly?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130123/b66b260a/attachment.sig>


More information about the virt-tools-list mailing list