我已经用SSL配置了X11VNC服务器,服务器开始监听默认端口5900,但是我可以连接到服务器,但是当连接结束时,服务器就停止监听端口,就好像服务停止运行一样!
我被困在这里好几天了,不知道该去哪里找。当我启动应用程序时,说“启动x11vnc似乎失败了。检查日志文件(调试->显示日志文件)以获得错误消息。”
在日志中,似乎没有错误,也可能有错误,但我看不到它们!我对linux服务器还不太熟悉。我正在附加启动服务时生成的日志
日志文件“日志”当前内容:
11/04/2014 19:41:34 passing arg to libvncserver: -passwd
11/04/2014 19:41:34 passing arg to libvncserver: -passwd
11/04/2014 19:41:34 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 25318
11/04/2014 19:41:34 Using X display :0
11/04/2014 19:41:34 rootwin: 0x284 reswin: 0x6000001 dpy: 0x19d4d30
11/04/2014 19:41:34
11/04/2014 19:41:34 ------------------ USEFUL INFORMATION ------------------
11/04/2014 19:41:34 X DAMAGE available on display, using it for polling hints.
11/04/2014 19:41:34 To disable this behavior use: '-noxdamage'
11/04/2014 19:41:34
11/04/2014 19:41:34 Most compositing window managers like 'compiz' or 'beryl'
11/04/2014 19:41:34 cause X DAMAGE to fail, and so you may not see any screen
11/04/2014 19:41:34 updates via VNC. Either disable 'compiz' (recommended) or
11/04/2014 19:41:34 supply the x11vnc '-noxdamage' command line option.
11/04/2014 19:41:34
11/04/2014 19:41:34 Wireframing: -wireframe mode is in effect for window moves.
11/04/2014 19:41:34 If this yields undesired behavior (poor response, painting
11/04/2014 19:41:34 errors, etc) it may be disabled:
11/04/2014 19:41:34 - use '-nowf' to disable wireframing completely.
11/04/2014 19:41:34 - use '-nowcr' to disable the Copy Rectangle after the
11/04/2014 19:41:34 moved window is released in the new position.
11/04/2014 19:41:34 Also see the -help entry for tuning parameters.
11/04/2014 19:41:34 You can press 3 Alt_L's (Left "Alt" key) in a row to
11/04/2014 19:41:34 repaint the screen, also see the -fixscreen option for
11/04/2014 19:41:34 periodic repaints.
11/04/2014 19:41:34
11/04/2014 19:41:34 XFIXES available on display, resetting cursor mode
11/04/2014 19:41:34 to: '-cursor most'.
11/04/2014 19:41:34 to disable this behavior use: '-cursor arrow'
11/04/2014 19:41:34 or '-noxfixes'.
11/04/2014 19:41:34 using XFIXES for cursor drawing.
11/04/2014 19:41:34 GrabServer control via XTEST.
11/04/2014 19:41:34
11/04/2014 19:41:34 Scroll Detection: -scrollcopyrect mode is in effect to
11/04/2014 19:41:34 use RECORD extension to try to detect scrolling windows
11/04/2014 19:41:34 (induced by either user keystroke or mouse input).
11/04/2014 19:41:34 If this yields undesired behavior (poor response, painting
11/04/2014 19:41:34 errors, etc) it may be disabled via: '-noscr'
11/04/2014 19:41:34 Also see the -help entry for tuning parameters.
11/04/2014 19:41:34 You can press 3 Alt_L's (Left "Alt" key) in a row to
11/04/2014 19:41:34 repaint the screen, also see the -fixscreen option for
11/04/2014 19:41:34 periodic repaints.
11/04/2014 19:41:34
11/04/2014 19:41:34 XKEYBOARD: number of keysyms per keycode 10 is greater
11/04/2014 19:41:34 than 4 and 108 keysyms are mapped above 4.
11/04/2014 19:41:34 Automatically switching to -xkb mode.
11/04/2014 19:41:34 If this makes the key mapping worse you can
11/04/2014 19:41:34 disable it with the "-noxkb" option.
11/04/2014 19:41:34 Also, remember "-remap DEAD" for accenting characters.
11/04/2014 19:41:34
11/04/2014 19:41:34 X FBPM extension not supported.
11/04/2014 19:41:34 X display is capable of DPMS.
11/04/2014 19:41:34 --------------------------------------------------------
11/04/2014 19:41:34
11/04/2014 19:41:34 Default visual ID: 0x21
11/04/2014 19:41:34 Read initial data from X display into framebuffer.
11/04/2014 19:41:34 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/7680
11/04/2014 19:41:34
11/04/2014 19:41:34 Initializing SSL (server connect mode).
11/04/2014 19:41:34 RAND_file_name: /home/moh10ly/.rnd
11/04/2014 19:41:34 initialized PRNG with 1088 random bytes.
11/04/2014 19:41:34 created 512 bit temporary RSA key: 0.012s
11/04/2014 19:41:34 created 1024 bit temporary RSA key: 0.043s
11/04/2014 19:41:34
11/04/2014 19:41:34 Using SSL Certificate:
-----BEGIN CERTIFICATE-----
My certificate is here
-----END CERTIFICATE-----
11/04/2014 19:41:34 using PEM /home/moh10ly/.vnc/certs/server.pem 0.000s
11/04/2014 19:41:34
11/04/2014 19:41:34
11/04/2014 19:41:34 X display :0 is 32bpp depth=24 true color
11/04/2014 19:41:34
11/04/2014 19:41:34 Autoprobing TCP port
11/04/2014 19:41:34 Autoprobing selected TCP port 5900
11/04/2014 19:41:34 Autoprobing TCP6 port
11/04/2014 19:41:34 Autoprobing selected TCP6 port 5900
11/04/2014 19:41:34 openssl_port: listen on port/sock 5900/12
11/04/2014 19:41:34 openssl_port: listen on port/sock 5900/13 (ipv6)
The SSL VNC desktop is: MyComputer:0
11/04/2014 19:41:34
11/04/2014 19:41:34 Xinerama is present and active (e.g. multi-head).
11/04/2014 19:41:34 Xinerama: number of sub-screens: 1
11/04/2014 19:41:34 Xinerama: no blackouts needed (only one sub-screen)
11/04/2014 19:41:34
11/04/2014 19:41:34 fb read rate: 498 MB/sec
11/04/2014 19:41:34 fast read: reset -wait ms to: 10
11/04/2014 19:41:34 fast read: reset -defer ms to: 10
11/04/2014 19:41:34 The X server says there are 24 mouse buttons.
11/04/2014 19:41:34 screen setup finished.
11/04/2014 19:41:34
The SSL VNC desktop is: MyComputer:0
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching发布于 2014-04-11 18:23:01
实际上是从手册的最顶端:
默认情况下,x11vnc将不允许共享屏幕,并且一旦客户端断开连接,它就会退出。请参阅下面的-shared和-forever以覆盖这些保护。
我还通过搜索'x11vnc出口‘找到了这个信息。第一个环节得到了答案。
https://serverfault.com/questions/588431
复制相似问题