* xinetd conf for x11vnc
authormitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Sun, 6 Mar 2011 17:05:29 +0000 (17:05 +0000)
committermitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Sun, 6 Mar 2011 17:05:29 +0000 (17:05 +0000)
 * allow connect only from localhost with no password

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@114 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

TipAndDoc/xinetd.d/x11vnc [new file with mode: 0644]

diff --git a/TipAndDoc/xinetd.d/x11vnc b/TipAndDoc/xinetd.d/x11vnc
new file mode 100644 (file)
index 0000000..e9ccebf
--- /dev/null
@@ -0,0 +1,13 @@
+service x11vnc
+{
+       port            = 5900
+       type            = UNLISTED
+       socket_type     = stream
+       protocol        = tcp
+       wait            = no
+       only_from       = 127.0.0.1
+       user            = root
+       server          = /usr/bin/x11vnc
+       server_args     = -display :0 -auth guess -nopw -localhost -inetd -o /var/log/x11vnc.log
+       disable         = no
+}