Hi list

I have some troubles with vnc.
In the past it was possible to set the port for vnc with:

-vnc :1

That would mean the port would be 5901, Starting from 5900 plus the given 
number. However, it was also possible to set the port directly with a custom 
given port.
In my case i usually set the port to something like 5801. Since at least 
qemu-1.1.1 and later (don't know since which version it doesn't work correctly 
anymore) that's not possible anymore. For example:

-vnc 192.168.1.1:5804

Here the 'real' port would be 11704 (that's 5900 + 5804). I'm pretty sure that 
worked correctly in the past, as i'm used it quite often. (now i'm usually use 
spice)

Does anyone else have this problem too?
As an workaround i actully starting guest's with: (for port 5804)

-vnc 192.168.1.1:-96

This works, but looks quite strange. My start/stop script actually calculates 
the port with "${given_port} + 59635 - 65535

I already made an upstream bugreport without any answer so far. [1]

[1] https://bugs.launchpad.net/qemu/+bug/1089496


Reply via email to