Question:
Should I fill
out a bugzilla. I can restart the x11vnc server via ssh - but
that is a pain.
VNC via
x11vnc crashes after a few minutes of idle - x11vnc is no
longer running on the box being monitored.
Here is what the last x11vnc log shows at the end on 2 tumbleweed machines running x-windows:
18/01/2023 10:16:51
called initialize_xfixes()
18/01/2023 10:26:54 idle keyboard: turning X autorepeat back
on.
caught X11 error:
18/01/2023 12:40:58 deleted 60 tile_row polling images.
extra[1] signal: 0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 25 (X_SendEvent)
Resource id in failed request: 0x25003c4
Serial number of failed request: 573175
Current serial number in output stream: 573176
user@LLR4:~> uname -a
Linux LLR4 6.1.6-1-default #1 SMP PREEMPT_DYNAMIC Mon Jan 16
05:11:14 UTC 2023 (573f4a9) x86_64 x86_64 x86_64 GNU/Linux
user@LLR4:~>
18/01/2023 10:18:16
non-existent cursor: which=12
18/01/2023 10:27:19 idle keyboard: turning X autorepeat back
on.
caught X11 error:
18/01/2023 12:40:56 deleted 60 tile_row polling images.
extra[1] signal: 0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 25 (X_SendEvent)
Resource id in failed request: 0x25004b2
Serial number of failed request: 602888
Current serial number in output stream: 602889
user@LLR5:~> uname -a
Linux LLR5 6.1.6-1-default #1 SMP PREEMPT_DYNAMIC Mon Jan 16
05:11:14 UTC 2023 (573f4a9) x86_64 x86_64 x86_64 GNU/Linux
user@LLR5:~>
Full logs here
user@LLR4:~> cat
x11vnc.old
18/01/2023 10:16:11 passing arg to libvncserver: -passwd
18/01/2023 10:16:11 x11vnc version: 0.9.16 lastmod: 2019-01-05
pid: 6500
18/01/2023 10:16:11 Using X display :0
18/01/2023 10:16:11 rootwin: 0x77c reswin: 0x1b00001 dpy:
0xe347d780
18/01/2023 10:16:11
18/01/2023 10:16:11 ------------------ USEFUL INFORMATION
------------------
18/01/2023 10:16:11
18/01/2023 10:16:11 Wireframing: -wireframe mode is in effect
for window moves.
18/01/2023 10:16:11 If this yields undesired behavior (poor
response, painting
18/01/2023 10:16:11 errors, etc) it may be disabled:
18/01/2023 10:16:11 - use '-nowf' to disable wireframing
completely.
18/01/2023 10:16:11 - use '-nowcr' to disable the Copy
Rectangle after the
18/01/2023 10:16:11 moved window is released in the new
position.
18/01/2023 10:16:11 Also see the -help entry for tuning
parameters.
18/01/2023 10:16:11 You can press 3 Alt_L's (Left "Alt" key)
in a row to
18/01/2023 10:16:11 repaint the screen, also see the
-fixscreen option for
18/01/2023 10:16:11 periodic repaints.
18/01/2023 10:16:11
18/01/2023 10:16:11 XFIXES available on display, resetting
cursor mode
18/01/2023 10:16:11 to: '-cursor most'.
18/01/2023 10:16:11 to disable this behavior use: '-cursor
arrow'
18/01/2023 10:16:11 or '-noxfixes'.
18/01/2023 10:16:11 using XFIXES for cursor drawing.
18/01/2023 10:16:11 GrabServer control via XTEST.
18/01/2023 10:16:11
18/01/2023 10:16:11 Scroll Detection: -scrollcopyrect mode is in
effect to
18/01/2023 10:16:11 use RECORD extension to try to detect
scrolling windows
18/01/2023 10:16:11 (induced by either user keystroke or mouse
input).
18/01/2023 10:16:11 If this yields undesired behavior (poor
response, painting
18/01/2023 10:16:11 errors, etc) it may be disabled via:
'-noscr'
18/01/2023 10:16:11 Also see the -help entry for tuning
parameters.
18/01/2023 10:16:11 You can press 3 Alt_L's (Left "Alt" key)
in a row to
18/01/2023 10:16:11 repaint the screen, also see the
-fixscreen option for
18/01/2023 10:16:11 periodic repaints.
18/01/2023 10:16:11
18/01/2023 10:16:11 XKEYBOARD: number of keysyms per keycode 7
is greater
18/01/2023 10:16:11 than 4 and 51 keysyms are mapped above 4.
18/01/2023 10:16:11 Automatically switching to -xkb mode.
18/01/2023 10:16:11 If this makes the key mapping worse you
can
18/01/2023 10:16:11 disable it with the "-noxkb" option.
18/01/2023 10:16:11 Also, remember "-remap DEAD" for accenting
characters.
18/01/2023 10:16:11
18/01/2023 10:16:11 X FBPM extension not supported.
18/01/2023 10:16:11 X display is capable of DPMS.
18/01/2023 10:16:11
--------------------------------------------------------
18/01/2023 10:16:11
18/01/2023 10:16:11 Default visual ID: 0x21
18/01/2023 10:16:11 Read initial data from X display into
framebuffer.
18/01/2023 10:16:11 initialize_screen: fb_depth/fb_bpp/fb_Bpl
24/32/7680
18/01/2023 10:16:11
18/01/2023 10:16:11 X display :0 is 32bpp depth=24 true color
18/01/2023 10:16:11
18/01/2023 10:16:11 Autoprobing TCP port
18/01/2023 10:16:11 Autoprobing selected TCP port 5900
18/01/2023 10:16:11 Autoprobing TCP6 port
18/01/2023 10:16:11 Autoprobing selected TCP6 port 5900
18/01/2023 10:16:11 listen6: bind: Address already in use
18/01/2023 10:16:11 Not listening on IPv6 interface.
18/01/2023 10:16:11
18/01/2023 10:16:11 Xinerama is present and active (e.g.
multi-head).
18/01/2023 10:16:11 Xinerama: number of sub-screens: 1
18/01/2023 10:16:11 Xinerama: no blackouts needed (only one
sub-screen)
18/01/2023 10:16:11
18/01/2023 10:16:11 fb read rate: 1255 MB/sec
18/01/2023 10:16:11 fast read: reset -defer ms to: 10
18/01/2023 10:16:11 The X server says there are 10 mouse
buttons.
18/01/2023 10:16:11 screen setup finished.
18/01/2023 10:16:11
The VNC desktop is: LLR4: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
18/01/2023 10:16:42 Got connection from client 192.168.20.101
18/01/2023 10:16:42 0 other clients
18/01/2023 10:16:42 Normal socket connection
18/01/2023 10:16:42 Disabled X server key autorepeat.
18/01/2023 10:16:42 to force back on run: 'xset r on' (3
times)
18/01/2023 10:16:42 incr accepted_client=1 for
192.168.20.101:44404 sock=10
18/01/2023 10:16:42 Client Protocol Version 3.8
18/01/2023 10:16:42 Protocol version sent 3.8, using 3.8
18/01/2023 10:16:42 Send channel security type 'none'
18/01/2023 10:16:42 rfbProcessClientSecurityType: executing
handler for type 2
18/01/2023 10:16:42 copy_tiles: allocating first_line at size 61
18/01/2023 10:16:42 Pixel format for client 192.168.20.101:
18/01/2023 10:16:42 32 bpp, depth 24, little endian
18/01/2023 10:16:42 true colour: max r 255 g 255 b 255, shift
r 16 g 8 b 0
18/01/2023 10:16:42 no translation needed
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type zlibhex
18/01/2023 10:16:43 Using compression level 6 for client
192.168.20.101
18/01/2023 10:16:43 Enabling X-style cursor updates for client
192.168.20.101
18/01/2023 10:16:43 Enabling full-color cursor updates for
client 192.168.20.101
18/01/2023 10:16:43 Enabling cursor position updates for client
192.168.20.101
18/01/2023 10:16:43 Using image quality level 6 for client
192.168.20.101
18/01/2023 10:16:43 Using JPEG subsampling 0, Q79 for client
192.168.20.101
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type xorEnable
18/01/2023 10:16:43 Enabling LastRect protocol extension for
client 192.168.20.101
18/01/2023 10:16:43 Enabling NewFBSize protocol extension for
client 192.168.20.101
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type cacheEnable
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8000)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8001)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8002)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8003)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xC0A1E5CE)
18/01/2023 10:16:43 Using ZRLE encoding for client
192.168.20.101
18/01/2023 10:16:43 Pixel format for client 192.168.20.101:
18/01/2023 10:16:43 32 bpp, depth 24, little endian
18/01/2023 10:16:43 true colour: max r 255 g 255 b 255, shift
r 16 g 8 b 0
18/01/2023 10:16:43 no translation needed
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type zlibhex
18/01/2023 10:16:43 Using compression level 6 for client
192.168.20.101
18/01/2023 10:16:43 Enabling X-style cursor updates for client
192.168.20.101
18/01/2023 10:16:43 Enabling full-color cursor updates for
client 192.168.20.101
18/01/2023 10:16:43 Enabling cursor position updates for client
192.168.20.101
18/01/2023 10:16:43 Using image quality level 6 for client
192.168.20.101
18/01/2023 10:16:43 Using JPEG subsampling 0, Q79 for client
192.168.20.101
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type xorEnable
18/01/2023 10:16:43 Enabling LastRect protocol extension for
client 192.168.20.101
18/01/2023 10:16:43 Enabling NewFBSize protocol extension for
client 192.168.20.101
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8000)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8001)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8002)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8003)
18/01/2023 10:16:43 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xC0A1E5CE)
18/01/2023 10:16:43 Switching from ZRLE to hextile Encoding for
client 192.168.20.101
18/01/2023 10:16:43 client 1 network rate 3132.6 KB/sec (43921.7
eff KB/sec)
18/01/2023 10:16:43 client 1 latency: 1.1 ms
18/01/2023 10:16:43 dt1: 0.1091, dt2: 0.0804 dt3: 0.0011 bytes:
591682
18/01/2023 10:16:43 link_rate: LR_LAN - 1 ms, 3132 KB/s
18/01/2023 10:16:43 client_set_net: 192.168.20.101 0.0003
18/01/2023 10:16:51 created selwin: 0x1b00040
18/01/2023 10:16:51 called initialize_xfixes()
18/01/2023 10:26:54 idle keyboard: turning X autorepeat back
on.
caught X11 error:
18/01/2023 12:40:58 deleted 60 tile_row polling images.
extra[1] signal: 0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 25 (X_SendEvent)
Resource id in failed request: 0x25003c4
Serial number of failed request: 573175
Current serial number in output stream: 573176
user@LLR4:~> uname -a
Linux LLR4 6.1.6-1-default #1 SMP PREEMPT_DYNAMIC Mon Jan 16
05:11:14 UTC 2023 (573f4a9) x86_64 x86_64 x86_64 GNU/Linux
user@LLR4:~>
user@LLR5:~> cat
x11vnc.old
18/01/2023 10:15:58 passing arg to libvncserver: -passwd
18/01/2023 10:15:58 x11vnc version: 0.9.16 lastmod: 2019-01-05
pid: 2424
18/01/2023 10:15:58 Using X display :0
18/01/2023 10:15:58 rootwin: 0x77c reswin: 0x1b00001 dpy:
0x9cc36780
18/01/2023 10:15:58
18/01/2023 10:15:58 ------------------ USEFUL INFORMATION
------------------
18/01/2023 10:15:58
18/01/2023 10:15:58 Wireframing: -wireframe mode is in effect
for window moves.
18/01/2023 10:15:58 If this yields undesired behavior (poor
response, painting
18/01/2023 10:15:58 errors, etc) it may be disabled:
18/01/2023 10:15:58 - use '-nowf' to disable wireframing
completely.
18/01/2023 10:15:58 - use '-nowcr' to disable the Copy
Rectangle after the
18/01/2023 10:15:58 moved window is released in the new
position.
18/01/2023 10:15:58 Also see the -help entry for tuning
parameters.
18/01/2023 10:15:58 You can press 3 Alt_L's (Left "Alt" key)
in a row to
18/01/2023 10:15:58 repaint the screen, also see the
-fixscreen option for
18/01/2023 10:15:58 periodic repaints.
18/01/2023 10:15:58
18/01/2023 10:15:58 XFIXES available on display, resetting
cursor mode
18/01/2023 10:15:58 to: '-cursor most'.
18/01/2023 10:15:58 to disable this behavior use: '-cursor
arrow'
18/01/2023 10:15:58 or '-noxfixes'.
18/01/2023 10:15:58 using XFIXES for cursor drawing.
18/01/2023 10:15:58 GrabServer control via XTEST.
18/01/2023 10:15:58
18/01/2023 10:15:58 Scroll Detection: -scrollcopyrect mode is in
effect to
18/01/2023 10:15:58 use RECORD extension to try to detect
scrolling windows
18/01/2023 10:15:58 (induced by either user keystroke or mouse
input).
18/01/2023 10:15:58 If this yields undesired behavior (poor
response, painting
18/01/2023 10:15:58 errors, etc) it may be disabled via:
'-noscr'
18/01/2023 10:15:58 Also see the -help entry for tuning
parameters.
18/01/2023 10:15:58 You can press 3 Alt_L's (Left "Alt" key)
in a row to
18/01/2023 10:15:58 repaint the screen, also see the
-fixscreen option for
18/01/2023 10:15:58 periodic repaints.
18/01/2023 10:15:58
18/01/2023 10:15:58 XKEYBOARD: number of keysyms per keycode 7
is greater
18/01/2023 10:15:58 than 4 and 51 keysyms are mapped above 4.
18/01/2023 10:15:58 Automatically switching to -xkb mode.
18/01/2023 10:15:58 If this makes the key mapping worse you
can
18/01/2023 10:15:58 disable it with the "-noxkb" option.
18/01/2023 10:15:58 Also, remember "-remap DEAD" for accenting
characters.
18/01/2023 10:15:58
18/01/2023 10:15:58 X FBPM extension not supported.
18/01/2023 10:15:58 X display is capable of DPMS.
18/01/2023 10:15:58
--------------------------------------------------------
18/01/2023 10:15:58
18/01/2023 10:15:58 Default visual ID: 0x21
18/01/2023 10:15:59 Read initial data from X display into
framebuffer.
18/01/2023 10:15:59 initialize_screen: fb_depth/fb_bpp/fb_Bpl
24/32/7680
18/01/2023 10:15:59
18/01/2023 10:15:59 X display :0 is 32bpp depth=24 true color
18/01/2023 10:15:59
18/01/2023 10:15:59 Autoprobing TCP port
18/01/2023 10:15:59 Autoprobing selected TCP port 5900
18/01/2023 10:15:59 Autoprobing TCP6 port
18/01/2023 10:15:59 Autoprobing selected TCP6 port 5900
18/01/2023 10:15:59 listen6: bind: Address already in use
18/01/2023 10:15:59 Not listening on IPv6 interface.
18/01/2023 10:15:59
18/01/2023 10:15:59 Xinerama is present and active (e.g.
multi-head).
18/01/2023 10:15:59 Xinerama: number of sub-screens: 1
18/01/2023 10:15:59 Xinerama: no blackouts needed (only one
sub-screen)
18/01/2023 10:15:59
18/01/2023 10:15:59 fb read rate: 338 MB/sec
18/01/2023 10:15:59 fast read: reset -defer ms to: 10
18/01/2023 10:15:59 The X server says there are 10 mouse
buttons.
18/01/2023 10:15:59 screen setup finished.
18/01/2023 10:15:59
The VNC desktop is: LLR5: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
18/01/2023 10:16:44 Got connection from client 192.168.20.101
18/01/2023 10:16:44 0 other clients
18/01/2023 10:16:44 Normal socket connection
18/01/2023 10:16:44 Disabled X server key autorepeat.
18/01/2023 10:16:44 to force back on run: 'xset r on' (3
times)
18/01/2023 10:16:44 incr accepted_client=1 for
192.168.20.101:57186 sock=10
18/01/2023 10:16:44 Client Protocol Version 3.8
18/01/2023 10:16:44 Protocol version sent 3.8, using 3.8
18/01/2023 10:16:44 Send channel security type 'none'
18/01/2023 10:16:44 rfbProcessClientSecurityType: executing
handler for type 2
18/01/2023 10:16:44 copy_tiles: allocating first_line at size 61
18/01/2023 10:16:44 Pixel format for client 192.168.20.101:
18/01/2023 10:16:44 32 bpp, depth 24, little endian
18/01/2023 10:16:44 true colour: max r 255 g 255 b 255, shift
r 16 g 8 b 0
18/01/2023 10:16:44 no translation needed
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type zlibhex
18/01/2023 10:16:44 Using compression level 6 for client
192.168.20.101
18/01/2023 10:16:44 Enabling X-style cursor updates for client
192.168.20.101
18/01/2023 10:16:44 Enabling full-color cursor updates for
client 192.168.20.101
18/01/2023 10:16:44 Enabling cursor position updates for client
192.168.20.101
18/01/2023 10:16:44 Using image quality level 6 for client
192.168.20.101
18/01/2023 10:16:44 Using JPEG subsampling 0, Q79 for client
192.168.20.101
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type xorEnable
18/01/2023 10:16:44 Enabling LastRect protocol extension for
client 192.168.20.101
18/01/2023 10:16:44 Enabling NewFBSize protocol extension for
client 192.168.20.101
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type cacheEnable
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8000)
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8001)
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8002)
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8003)
18/01/2023 10:16:44 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xC0A1E5CE)
18/01/2023 10:16:44 Using ZRLE encoding for client
192.168.20.101
18/01/2023 10:16:45 Pixel format for client 192.168.20.101:
18/01/2023 10:16:45 32 bpp, depth 24, little endian
18/01/2023 10:16:45 true colour: max r 255 g 255 b 255, shift
r 16 g 8 b 0
18/01/2023 10:16:45 no translation needed
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type zlibhex
18/01/2023 10:16:45 Using compression level 6 for client
192.168.20.101
18/01/2023 10:16:45 Enabling X-style cursor updates for client
192.168.20.101
18/01/2023 10:16:45 Enabling full-color cursor updates for
client 192.168.20.101
18/01/2023 10:16:45 Enabling cursor position updates for client
192.168.20.101
18/01/2023 10:16:45 Using image quality level 6 for client
192.168.20.101
18/01/2023 10:16:45 Using JPEG subsampling 0, Q79 for client
192.168.20.101
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type xorEnable
18/01/2023 10:16:45 Enabling LastRect protocol extension for
client 192.168.20.101
18/01/2023 10:16:45 Enabling NewFBSize protocol extension for
client 192.168.20.101
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8000)
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8001)
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8002)
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xFFFF8003)
18/01/2023 10:16:45 rfbProcessClientNormalMessage: ignoring
unsupported encoding type Enc(0xC0A1E5CE)
18/01/2023 10:16:45 Switching from ZRLE to hextile Encoding for
client 192.168.20.101
18/01/2023 10:16:45 client 1 network rate 10138.3 KB/sec
(149140.0 eff KB/sec)
18/01/2023 10:16:45 client 1 latency: 1.3 ms
18/01/2023 10:16:45 dt1: 0.0388, dt2: 0.0175 dt3: 0.0013 bytes:
563935
18/01/2023 10:16:45 link_rate: LR_LAN - 1 ms, 10138 KB/s
18/01/2023 10:16:45 client_set_net: 192.168.20.101 0.0002
18/01/2023 10:16:53 created selwin: 0x1b00040
18/01/2023 10:16:53 called initialize_xfixes()
18/01/2023 10:18:16 non-existent cursor: which=12
18/01/2023 10:27:19 idle keyboard: turning X autorepeat back
on.
caught X11 error:
18/01/2023 12:40:56 deleted 60 tile_row polling images.
extra[1] signal: 0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 25 (X_SendEvent)
Resource id in failed request: 0x25004b2
Serial number of failed request: 602888
Current serial number in output stream: 602889
user@LLR5:~> uname -a
Linux LLR5 6.1.6-1-default #1 SMP PREEMPT_DYNAMIC Mon Jan 16
05:11:14 UTC 2023 (573f4a9) x86_64 x86_64 x86_64 GNU/Linux
user@LLR5:~>