LINUX.ORG.RU
ФорумAdmin

x11vnc отваливается примерно каждые 5 минут


0

1

сабж, как починить?

запускаю вот так:

x11vnc -many -display :0 -rfbauth файл с паролем)) -auth /var/lib/gdm/:0.Xauth -dontdisconnect -ssltimeout 0 -readtimeout 99999 -notruecolor -noxfixes -shared -forever -rfbport 5900 -bg -o /var/log/x11vnc.log

в момент разъединения всё что в логе стирается нафиг, ошибку не посмотреть

★★★★☆

лог часть 1

логах вот что:

09/01/2011 22:37:49 passing arg to libvncserver: -rfbauth
09/01/2011 22:37:49 passing arg to libvncserver: файл с паролем))
09/01/2011 22:37:49 passing arg to libvncserver: -dontdisconnect
09/01/2011 22:37:49 passing arg to libvncserver: -rfbport
09/01/2011 22:37:49 passing arg to libvncserver: 5900
09/01/2011 22:37:49 x11vnc version: 0.9.12 lastmod: 2010-09-09  pid: 12185
09/01/2011 22:37:49 Using X display :0
09/01/2011 22:37:49 rootwin: 0xb6 reswin: 0x2200001 dpy: 0x1bfdc60
09/01/2011 22:37:49 
09/01/2011 22:37:49 ------------------ USEFUL INFORMATION ------------------
09/01/2011 22:37:49 X DAMAGE available on display, using it for polling hints.
09/01/2011 22:37:49   To disable this behavior use: '-noxdamage'
09/01/2011 22:37:49 
09/01/2011 22:37:49   Most compositing window managers like 'compiz' or 'beryl'
09/01/2011 22:37:49   cause X DAMAGE to fail, and so you may not see any screen
09/01/2011 22:37:49   updates via VNC.  Either disable 'compiz' (recommended) or
09/01/2011 22:37:49   supply the x11vnc '-noxdamage' command line option.
09/01/2011 22:37:49 
09/01/2011 22:37:49 Wireframing: -wireframe mode is in effect for window moves.
09/01/2011 22:37:49   If this yields undesired behavior (poor response, painting
09/01/2011 22:37:49   errors, etc) it may be disabled:
09/01/2011 22:37:49    - use '-nowf' to disable wireframing completely.
09/01/2011 22:37:49    - use '-nowcr' to disable the Copy Rectangle after the
09/01/2011 22:37:49      moved window is released in the new position.
09/01/2011 22:37:49   Also see the -help entry for tuning parameters.
09/01/2011 22:37:49   You can press 3 Alt_L's (Left "Alt" key) in a row to 
09/01/2011 22:37:49   repaint the screen, also see the -fixscreen option for
09/01/2011 22:37:49   periodic repaints.
09/01/2011 22:37:49 GrabServer control via XTEST.
09/01/2011 22:37:49 
09/01/2011 22:37:49 Scroll Detection: -scrollcopyrect mode is in effect to
09/01/2011 22:37:49   use RECORD extension to try to detect scrolling windows
09/01/2011 22:37:49   (induced by either user keystroke or mouse input).
09/01/2011 22:37:49   If this yields undesired behavior (poor response, painting
09/01/2011 22:37:49   errors, etc) it may be disabled via: '-noscr'
09/01/2011 22:37:49   Also see the -help entry for tuning parameters.
09/01/2011 22:37:49   You can press 3 Alt_L's (Left "Alt" key) in a row to 
09/01/2011 22:37:49   repaint the screen, also see the -fixscreen option for
09/01/2011 22:37:49   periodic repaints.
09/01/2011 22:37:49 
09/01/2011 22:37:49 XKEYBOARD: number of keysyms per keycode 6 is greater
09/01/2011 22:37:49   than 4 and 2 keysyms are mapped above 4.
09/01/2011 22:37:49   Automatically switching to -xkb mode.
09/01/2011 22:37:49   If this makes the key mapping worse you can
09/01/2011 22:37:49   disable it with the "-noxkb" option.
09/01/2011 22:37:49   Also, remember "-remap DEAD" for accenting characters.
09/01/2011 22:37:49 
09/01/2011 22:37:49 X FBPM extension not supported.
09/01/2011 22:37:49 X display is capable of DPMS.
09/01/2011 22:37:49 --------------------------------------------------------
09/01/2011 22:37:49 
09/01/2011 22:37:49 Default visual ID: 0x21
09/01/2011 22:37:49 Read initial data from X display into framebuffer.
09/01/2011 22:37:49 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
09/01/2011 22:37:49 
09/01/2011 22:37:49 X display :0 is 32bpp depth=24 true color
09/01/2011 22:37:49 WARNING: all TrueColor RGB masks are zero!
09/01/2011 22:37:49 WARNING: cooking something up for VNC fb...  B=8 M=255
 red_mask:   0x00ff0000  00000000111111110000000000000000
 green_mask: 0x0000ff00  00000000000000001111111100000000
 blue_mask:  0x000000ff  00000000000000000000000011111111
09/01/2011 22:37:49 
09/01/2011 22:37:49 Listening for VNC connections on TCP port 5900
09/01/2011 22:37:49 Listening also on IPv6 port 5900 (socket 10)
09/01/2011 22:37:49 
09/01/2011 22:37:49 Xinerama is present and active (e.g. multi-head).
09/01/2011 22:37:49 Xinerama: number of sub-screens: 1
09/01/2011 22:37:49 Xinerama: no blackouts needed (only one sub-screen)
09/01/2011 22:37:49 
09/01/2011 22:37:49 fb read rate: 293 MB/sec
09/01/2011 22:37:49 fast read: reset wait  ms to: 10
09/01/2011 22:37:49 fast read: reset defer ms to: 10
09/01/2011 22:37:49 The X server says there are 24 mouse buttons.
09/01/2011 22:37:49 screen setup finished.
09/01/2011 22:37:49 

The VNC desktop is:      dualnote:0
stevejobs ★★★★☆
() автор топика

лог часть 2


******************************************************************************
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

09/01/2011 22:37:50 Got connection from client 192.168.40.18
09/01/2011 22:37:50   other clients:
09/01/2011 22:37:50 Disabled X server key autorepeat.
09/01/2011 22:37:50   to force back on run: 'xset r on' (3 times)
09/01/2011 22:37:50 incr accepted_client=1 for 192.168.40.18:49784  sock=11
09/01/2011 22:37:50 Client Protocol Version 3.8
09/01/2011 22:37:50 Protocol version sent 3.8, using 3.8
09/01/2011 22:37:50 rfbProcessClientSecurityType: executing handler for type 2
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC9)
09/01/2011 22:37:50 Enabling full-color cursor updates for client 192.168.40.18
09/01/2011 22:37:50 Enabling NewFBSize protocol extension for client 192.168.40.18
09/01/2011 22:37:50 Using ZRLE encoding for client 192.168.40.18
09/01/2011 22:37:50 Pixel format for client 192.168.40.18:
09/01/2011 22:37:50   8 bpp, depth 8
09/01/2011 22:37:50   uses a colour map (not true colour).
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
09/01/2011 22:37:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC9)
09/01/2011 22:37:50 Enabling full-color cursor updates for client 192.168.40.18
09/01/2011 22:37:50 Enabling NewFBSize protocol extension for client 192.168.40.18
09/01/2011 22:37:50 Switching from ZRLE to hextile Encoding for client 192.168.40.18
09/01/2011 22:37:50 Pixel format for client 192.168.40.18:
09/01/2011 22:37:50   32 bpp, depth 24, little endian
09/01/2011 22:37:50   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
09/01/2011 22:37:50 no translation needed
09/01/2011 22:37:52 client 1 network rate 76.0 KB/sec (838.1 eff KB/sec)
09/01/2011 22:37:52 client 1 latency:  7.4 ms
09/01/2011 22:37:52 dt1: 0.1072, dt2: 1.4609 dt3: 0.0074 bytes: 118855
09/01/2011 22:37:52 link_rate: LR_BROADBAND - 7 ms, 75 KB/s
09/01/2011 22:37:52 client_set_net: 192.168.40.18  0.1409
09/01/2011 22:37:52 created   xdamage object: 0x220002c
09/01/2011 22:37:52 copy_tiles: allocating first_line at size 41

09/01/2011 22:37:56 check_xrandr_event():
09/01/2011 22:37:56 Detected XRANDR event at location 'check_xevents':
09/01/2011 22:37:56 check_xrandr_event: no change detected.
09/01/2011 22:37:56 check_xrandr_event: enabling full XRANDR trapping anyway.
09/01/2011 22:37:56 Battling with something for -norepeat!! (1 resets left)
09/01/2011 22:37:56 Disabled X server key autorepeat.
09/01/2011 22:37:56   to force back on run: 'xset r on' (2 times)
09/01/2011 22:38:00 created selwin: 0x220002d
09/01/2011 22:38:00 Battling with something for -norepeat!! (0 resets left)
09/01/2011 22:38:00 Disabled X server key autorepeat.
09/01/2011 22:38:00   to force back on run: 'xset r on' (1 times)
09/01/2011 22:38:13 increased wireframe timeouts for slow network connection.
09/01/2011 22:38:13 netrate: 75 KB/sec, latency: 7 ms
No protocol specified
09/01/2011 22:39:14 XOpenDisplay(":0") failed.
09/01/2011 22:39:14 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified
09/01/2011 22:39:14 Failed to reopen RECORD control connection::0
09/01/2011 22:39:14   disabling RECORD scroll detection.
stevejobs ★★★★☆
() автор топика

> x11vnc отваливается

Приклей.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.