netcat used by VNC uses -q option which is not universally supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: virt-manager
After upgrading from Jaunty to Karmic, a remote CentOS 5.4 server with libvirt is unable to display screen using VNC because the nc (netcat) command on CentOS does not support the -q option, and the virt-manager in Karmic tries to use it. Earlier versions of Ubuntu showed the remote desktop fine without the -q option. Requesting removal if possible. The same version of netcat is used on Red Hat and CentOS versions 4 and 5 (at least), and possibly on other distributions as well.
The following error message is displayed by virt-manager in debug mode:
2009-11-04 12:35:01,428 (details:1265): Trying console login
2009-11-04 12:35:01,433 (details:1278): Graphics console configured at vnc://<email address hidden>:5902
2009-11-04 12:35:01,434 (details:1291): Starting connect process for bogus.domain.com 5902
2009-11-04 12:35:01,435 (details:1219): Spawning SSH tunnel to bogus.domain.com, for 127.0.0.1:5902
2009-11-04 12:35:01,440 (details:1242): Tunnel PID 25 FD 9822
nc: invalid option -- q
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
[-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
[-x proxy_address[
2009-11-04 12:35:31,818 (details:1250): Shutting down tunnel PID 9822 FD 25
2009-11-04 12:35:31,819 (details:1173): VNC disconnected
This can be fixed by installing a version of nc which recognizes the -q option on the remote server.
> This can be fixed by installing a version of nc which recognizes the -q option on the remote server.
Could you recommend from which source (repository, distribution)? Thank you