qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] setting port for vnc in qemu


From: Michael Mair-Keimberger
Subject: [Qemu-discuss] setting port for vnc in qemu
Date: Thu, 30 May 2013 13:56:41 +0200
User-agent: KMail/4.10.3 (Linux/3.10.0-rc2; KDE/4.10.3; x86_64; ; )

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

[Prev in Thread] Current Thread [Next in Thread]