* [Qemu-devel] [Bug 1455912] [NEW] vnc websocket option not properly parsed when running on commandline
@ 2015-05-17 13:07 flrichar
2015-05-17 13:16 ` [Qemu-devel] [Bug 1455912] " flrichar
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: flrichar @ 2015-05-17 13:07 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
All of my vms are started with a simple script on the command line.
Starting with Qemu 2.3.0, the option "-vnc host:port,websocket" is no longer working.
Previously if I said listen on Tor:17,websocket it would function
correctly. Now it's kicking an error:
qemu-system-x86_64: -vnc tor:17,websocket: Failed to start VNC server on `(null)': address resolution failed for tor:on: Servname not supported for ai_socktype
The error leads me to believe it's not parsing the command line options
for the "vnc" option correctly. If I leave off ",websocket" it works
correctly. I've even tried, replacing the hostname with an IP address,
and using the alternate form " -display vnc=tor:17,webscoket". It
reports the same error.
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1455912
Title:
vnc websocket option not properly parsed when running on commandline
Status in QEMU:
New
Bug description:
All of my vms are started with a simple script on the command line.
Starting with Qemu 2.3.0, the option "-vnc host:port,websocket" is no longer working.
Previously if I said listen on Tor:17,websocket it would function
correctly. Now it's kicking an error:
qemu-system-x86_64: -vnc tor:17,websocket: Failed to start VNC server on `(null)': address resolution failed for tor:on: Servname not supported for ai_socktype
The error leads me to believe it's not parsing the command line
options for the "vnc" option correctly. If I leave off ",websocket"
it works correctly. I've even tried, replacing the hostname with an
IP address, and using the alternate form " -display
vnc=tor:17,webscoket". It reports the same error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1455912/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1455912] Re: vnc websocket option not properly parsed when running on commandline
2015-05-17 13:07 [Qemu-devel] [Bug 1455912] [NEW] vnc websocket option not properly parsed when running on commandline flrichar
@ 2015-05-17 13:16 ` flrichar
2015-05-17 14:08 ` flrichar
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: flrichar @ 2015-05-17 13:16 UTC (permalink / raw)
To: qemu-devel
Someone has had a similar issue with the port portion of the display as
a string and not an integer (so it's looking in /etc/services etc):
http://stackoverflow.com/questions/23079017/servname-not-supported-for-
ai-socktype
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1455912
Title:
vnc websocket option not properly parsed when running on commandline
Status in QEMU:
New
Bug description:
All of my vms are started with a simple script on the command line.
Starting with Qemu 2.3.0, the option "-vnc host:port,websocket" is no longer working.
Previously if I said listen on Tor:17,websocket it would function
correctly. Now it's kicking an error:
qemu-system-x86_64: -vnc tor:17,websocket: Failed to start VNC server on `(null)': address resolution failed for tor:on: Servname not supported for ai_socktype
The error leads me to believe it's not parsing the command line
options for the "vnc" option correctly. If I leave off ",websocket"
it works correctly. I've even tried, replacing the hostname with an
IP address, and using the alternate form " -display
vnc=tor:17,webscoket". It reports the same error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1455912/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1455912] Re: vnc websocket option not properly parsed when running on commandline
2015-05-17 13:07 [Qemu-devel] [Bug 1455912] [NEW] vnc websocket option not properly parsed when running on commandline flrichar
2015-05-17 13:16 ` [Qemu-devel] [Bug 1455912] " flrichar
@ 2015-05-17 14:08 ` flrichar
2017-01-04 14:08 ` Daniel Berrange
2017-01-05 16:56 ` Daniel Berrange
3 siblings, 0 replies; 5+ messages in thread
From: flrichar @ 2015-05-17 14:08 UTC (permalink / raw)
To: qemu-devel
I have more information about the bug. The host I'm running this on is
called "tor' (no, it has nothing to do with an onion router, its an old
nickname and something I've been calling my main dev host for years).
Its IP is 10.16.0.5. If I designate the command line option as "-vnc
tor:11,websocket=5711" or "-vnc 10.16.0.5:11,websocket=5711" it appears
to work fine.
I have to include the specific IP I wish it to listen on because this
host has a lot of different interfaces, and I don't want it listening on
all interfaces. So there's still an issue with it resolving the "short"
name in local dns to the local IP, and listening only on that IP with
the abbreviated option. It's still not parsed correctly.
On another host, with much fewer interfaces and addresses, a simple
"-vnc :80,websocket" works fine without modification. Same version of
Qemu, the ArchLinux x86_64 package for 2.3.0-2.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1455912
Title:
vnc websocket option not properly parsed when running on commandline
Status in QEMU:
New
Bug description:
All of my vms are started with a simple script on the command line.
Starting with Qemu 2.3.0, the option "-vnc host:port,websocket" is no longer working.
Previously if I said listen on Tor:17,websocket it would function
correctly. Now it's kicking an error:
qemu-system-x86_64: -vnc tor:17,websocket: Failed to start VNC server on `(null)': address resolution failed for tor:on: Servname not supported for ai_socktype
The error leads me to believe it's not parsing the command line
options for the "vnc" option correctly. If I leave off ",websocket"
it works correctly. I've even tried, replacing the hostname with an
IP address, and using the alternate form " -display
vnc=tor:17,webscoket". It reports the same error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1455912/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1455912] Re: vnc websocket option not properly parsed when running on commandline
2015-05-17 13:07 [Qemu-devel] [Bug 1455912] [NEW] vnc websocket option not properly parsed when running on commandline flrichar
2015-05-17 13:16 ` [Qemu-devel] [Bug 1455912] " flrichar
2015-05-17 14:08 ` flrichar
@ 2017-01-04 14:08 ` Daniel Berrange
2017-01-05 16:56 ` Daniel Berrange
3 siblings, 0 replies; 5+ messages in thread
From: Daniel Berrange @ 2017-01-04 14:08 UTC (permalink / raw)
To: qemu-devel
This is an accidental regression caused by
commit 4db14629c38611061fc19ec6927405923de84f08
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: Tue Sep 16 12:33:03 2014 +0200
vnc: switch to QemuOpts, allow multiple servers
** Changed in: qemu
Assignee: (unassigned) => Daniel Berrange (berrange)
** Changed in: qemu
Status: New => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1455912
Title:
vnc websocket option not properly parsed when running on commandline
Status in QEMU:
Confirmed
Bug description:
All of my vms are started with a simple script on the command line.
Starting with Qemu 2.3.0, the option "-vnc host:port,websocket" is no longer working.
Previously if I said listen on Tor:17,websocket it would function
correctly. Now it's kicking an error:
qemu-system-x86_64: -vnc tor:17,websocket: Failed to start VNC server on `(null)': address resolution failed for tor:on: Servname not supported for ai_socktype
The error leads me to believe it's not parsing the command line
options for the "vnc" option correctly. If I leave off ",websocket"
it works correctly. I've even tried, replacing the hostname with an
IP address, and using the alternate form " -display
vnc=tor:17,webscoket". It reports the same error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1455912/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 1455912] Re: vnc websocket option not properly parsed when running on commandline
2015-05-17 13:07 [Qemu-devel] [Bug 1455912] [NEW] vnc websocket option not properly parsed when running on commandline flrichar
` (2 preceding siblings ...)
2017-01-04 14:08 ` Daniel Berrange
@ 2017-01-05 16:56 ` Daniel Berrange
3 siblings, 0 replies; 5+ messages in thread
From: Daniel Berrange @ 2017-01-05 16:56 UTC (permalink / raw)
To: qemu-devel
https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg00583.html
** Changed in: qemu
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1455912
Title:
vnc websocket option not properly parsed when running on commandline
Status in QEMU:
In Progress
Bug description:
All of my vms are started with a simple script on the command line.
Starting with Qemu 2.3.0, the option "-vnc host:port,websocket" is no longer working.
Previously if I said listen on Tor:17,websocket it would function
correctly. Now it's kicking an error:
qemu-system-x86_64: -vnc tor:17,websocket: Failed to start VNC server on `(null)': address resolution failed for tor:on: Servname not supported for ai_socktype
The error leads me to believe it's not parsing the command line
options for the "vnc" option correctly. If I leave off ",websocket"
it works correctly. I've even tried, replacing the hostname with an
IP address, and using the alternate form " -display
vnc=tor:17,webscoket". It reports the same error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1455912/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-01-05 17:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-17 13:07 [Qemu-devel] [Bug 1455912] [NEW] vnc websocket option not properly parsed when running on commandline flrichar
2015-05-17 13:16 ` [Qemu-devel] [Bug 1455912] " flrichar
2015-05-17 14:08 ` flrichar
2017-01-04 14:08 ` Daniel Berrange
2017-01-05 16:56 ` Daniel Berrange
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.