summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11vnc/files/starting-fix.patch
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-12-11 14:41:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-11 15:58:36 +0000
commita190aba5252da167cf37e1aade6b0077056401b2 (patch)
tree1865d3a9875a42f793538e9cb3814940a4bcf00f /meta/recipes-graphics/x11vnc/files/starting-fix.patch
parent924069546246c564fbb84fb3421eeb760ac3030b (diff)
downloadpoky-a190aba5252da167cf37e1aade6b0077056401b2.tar.gz
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] (From OE-Core rev: 8f7bd81f4769984a5acdb40f3a76e290615c3020) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/x11vnc/files/starting-fix.patch')
-rw-r--r--meta/recipes-graphics/x11vnc/files/starting-fix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/x11vnc/files/starting-fix.patch b/meta/recipes-graphics/x11vnc/files/starting-fix.patch
index 11c55e6061..cfaa797b92 100644
--- a/meta/recipes-graphics/x11vnc/files/starting-fix.patch
+++ b/meta/recipes-graphics/x11vnc/files/starting-fix.patch
@@ -15,7 +15,7 @@ Index: x11vnc-0.9.12/x11vnc/x11vnc.desktop
15 Name=X11VNC Server 15 Name=X11VNC Server
16 Comment=Share this desktop by VNC 16 Comment=Share this desktop by VNC
17-Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY 17-Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY
18+Exec=x11vnc -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY 18+Exec=x11vnc -bg -rfbport 5900 -o %%HOME/.x11vnc.log.%%VNCDISPLAY
19 Icon=computer 19 Icon=computer
20 Terminal=false 20 Terminal=false
21 Type=Application 21 Type=Application