<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><br>
Hi all,<br>
<br>
Problem: virt-manager cannot connect to a remote guest console using tcp <br>
Step to reproduce: any connection to remote host using tcp (not using remote tunnel/ssh)<br>
<br>
Log:<br>
<br>
[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<br>
[mer., 23 janv. 2013 15:17:32 virt-manager 7472] DEBUG (console:412) VNC connection to 127.0.0.1:5901  
<br>
<br>
</font><font size="-1">Of course, "VNC connection to 127.0.0.1:5901" fails</font>,
<br>
<small>Bug is in console.py : host, port = ginfo.get_conn_host() => returns 127.0.0.1 instead of <remotehost></small><br>
<pre><code>(I fixed it with a quick/dirty patch OK for my needs)

Best regards
Patrice Coste

</code></pre>
<br>
</body>
</html>