]> code.ossystems Code Review - openembedded-core.git/commit
x11vnc: bind vnc server to port 5900
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 11 Dec 2012 12:41:49 +0000 (14:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Dec 2012 15:57:46 +0000 (15:57 +0000)
commit8f7bd81f4769984a5acdb40f3a76e290615c3020
tree133264264ed509ed70c18b128e40f8a33854b21a
parent91fe09a9a8b317d27145efff4201f1138d6a45d4
x11vnc: bind vnc server to port 5900

At the moment, if one clicks on X11VNC Server icon, a new vnc server is
started on an automatically assigned port (starting with 5900). The
problem is that the user can click multiple times on the icon and a new
vnc server is started on another port. So, we'll end up with multiple
vnc servers, wasting memory.

This patch will restrict the x11vnc server port to 5900 (default VNC
port) and another process will not be started (because the port is
already used), unless the user chooses to start the server manually,
from the command line, in which case the port can be changed as the
user wishes.

[YOCTO #3369]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/x11vnc/files/starting-fix.patch