[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]