<div dir="ltr">there is no issue on the VNC using the same test steps.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-20 14:42 GMT+08:00 mzawdx wang <span dir="ltr"><<a href="mailto:mzawdx@gmail.com" target="_blank">mzawdx@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all:<div>    I met something strange when used netcat for proxy spice like this:</div><div><br></div><div>I run the command on the proxy server(192.168.3.128):</div><div><br></div><div><div>mkfifo backpipe</div><div>nc -l 12345 0<backpipe | nc 192.168.3.30 6188 1>backpipe</div></div><div><br></div><div>however, when I used spicy command to connect the vm on host(192.168.3.30):</div><div><br></div><div>spicy -h 192.168.3.128 -p 12345</div><div><br></div><div>the console stuck, and the spicy window can not be opened.</div><div><br></div><div><br></div><div>I have debug the spicy, found some clues:</div><div><br></div><div><div>1741     if (SPICE_IS_DISPLAY_CHANNEL(channel)) {</div><div>1742         if (id >= SPICE_N_ELEMENTS(conn->wins))</div><div>1743             return;</div><div>1744         if (conn->wins[id] != NULL)</div><div>1745             return;</div><div>1746         SPICE_DEBUG("new display channel (#%d)", id);</div><div>1747         g_signal_connect(channel, "notify::monitors",</div><div>1748                          G_CALLBACK(display_monitors), conn);</div><div>1749         spice_channel_connect(channel);</div><div>1750     }</div></div><div><br></div><div><br></div><div>the callback function: display_monitors was not called.</div><div><br></div><div>By the way, meanwhile I test the ssh tunnel proxy too, and it sounds like good.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>