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

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

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux