[Spice-devel] spice proxy fail

mzawdx wang mzawdx at gmail.com
Fri Apr 24 20:45:28 PDT 2015


there is no issue on the VNC using the same test steps.

2015-04-20 14:42 GMT+08:00 mzawdx wang <mzawdx at gmail.com>:

> Hi all:
>     I met something strange when used netcat for proxy spice like this:
>
> I run the command on the proxy server(192.168.3.128):
>
> mkfifo backpipe
> nc -l 12345 0<backpipe | nc 192.168.3.30 6188 1>backpipe
>
> however, when I used spicy command to connect the vm on host(192.168.3.30):
>
> spicy -h 192.168.3.128 -p 12345
>
> the console stuck, and the spicy window can not be opened.
>
>
> I have debug the spicy, found some clues:
>
> 1741     if (SPICE_IS_DISPLAY_CHANNEL(channel)) {
> 1742         if (id >= SPICE_N_ELEMENTS(conn->wins))
> 1743             return;
> 1744         if (conn->wins[id] != NULL)
> 1745             return;
> 1746         SPICE_DEBUG("new display channel (#%d)", id);
> 1747         g_signal_connect(channel, "notify::monitors",
> 1748                          G_CALLBACK(display_monitors), conn);
> 1749         spice_channel_connect(channel);
> 1750     }
>
>
> the callback function: display_monitors was not called.
>
> By the way, meanwhile I test the ssh tunnel proxy too, and it sounds like
> good.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150425/82ed8b3f/attachment.html>


More information about the Spice-devel mailing list