Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#240 Cannot connect to VNC or clients

iTALC 2
open
nobody
5
2014-03-26
2012-07-03
No

Cannot connect to VNC, and the server (Linux, running version 2) cannot see display from clients (Windows, running version 1), though the private/public keys have not changed.

Output from running italc:
[teacher@localhost tmp]$ italc
Tue Jul 3 09:56:58 2012: [INFO] Startup for user "teacher" with arguments ("italc")
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: VNC server supports protocol version 3.8 (viewer 3.8)
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: We have 3 security types to read
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 0) Received security type 250
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 1) Received security type 113
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 2) Received security type 40
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: Selecting security type 40 (2/3 in the list)
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: Selected Security Scheme 40
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: VNC authentication succeeded
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: Desktop name "localhost.localdomain:0"
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: Connected to VNC server, using protocol version 3.8
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: VNC server default format:
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 32 bits per pixel.
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: Least significant byte first in each pixel.
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: client2server supported messages (bit flags)
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 00: 00ff 0081 0000 0000 - 0000 0000 0000 0000
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 08: 0000 0000 0000 0000 - 0000 0000 0000 0000
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 10: 0000 0000 0000 0000 - 0000 0000 0000 0000
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 18: 0000 0000 0000 0000 - 0000 0000 0000 0004
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: server2client supported messages (bit flags)
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 00: 001f 0080 0000 0000 - 0000 0000 0000 0000
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 08: 0000 0000 0000 0000 - 0000 0000 0000 0000
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 10: 0000 0000 0000 0000 - 0000 0000 0000 0000
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: 18: 0000 0000 0000 0000 - 0000 0000 0000 0004
Tue Jul 3 09:56:58 2012: [WARN] ItalcVncConnection: Connected to Server "unknown (iTALC 2.0.0)"
Tue Jul 3 09:57:00 2012: [INFO] Exec
Tue Jul 3 09:57:00 2012: [WARN] ItalcVncConnection: Unable to connect to VNC server
Tue Jul 3 09:59:12 2012: [WARN] ---
Tue Jul 3 09:59:12 2012: [WARN] Last message repeated 1557 times
Tue Jul 3 09:59:12 2012: [WARN] ---
Tue Jul 3 09:59:12 2012: [WARN] ItalcVncConnection::stop(): terminating thread
Tue Jul 3 09:59:12 2012: [WARN] ItalcVncConnection: Unable to connect to VNC server
Tue Jul 3 09:59:13 2012: [WARN] ---
Tue Jul 3 09:59:13 2012: [WARN] Last message repeated 30 times
Tue Jul 3 09:59:13 2012: [WARN] ---
Tue Jul 3 09:59:13 2012: [INFO] Shutdown

Output from running ica:
[root@localhost ~]# Tue Jul 3 09:56:48 2012: [INFO] Startup for user "root" with arguments ("/usr/local/bin/ica")
Tue Jul 3 09:56:48 2012: [INFO] Ipc::Master: listening at port 53424
Tue Jul 3 09:56:48 2012: [INFO] Starting slave "SystemTrayIcon" at port 53424
Tue Jul 3 09:56:48 2012: [INFO] Exec
03/07/2012 09:56:48 AM passing arg to libvncserver: -rfbport
03/07/2012 09:56:48 AM passing arg to libvncserver: 11100
03/07/2012 09:56:48 AM x11vnc version: 0.9.13 lastmod: 2010-12-27 pid: 5684
03/07/2012 09:56:48 AM Using X display :0
03/07/2012 09:56:48 AM rootwin: 0xaf reswin: 0x4a00001 dpy: 0xb610cfa8
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM ------------------ USEFUL INFORMATION ------------------
03/07/2012 09:56:48 AM X DAMAGE available on display, using it for polling hints.
03/07/2012 09:56:48 AM To disable this behavior use: '-noxdamage'
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM Most compositing window managers like 'compiz' or 'beryl'
03/07/2012 09:56:48 AM cause X DAMAGE to fail, and so you may not see any screen
03/07/2012 09:56:48 AM updates via VNC. Either disable 'compiz' (recommended) or
03/07/2012 09:56:48 AM supply the x11vnc '-noxdamage' command line option.
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM Wireframing: -wireframe mode is in effect for window moves.
03/07/2012 09:56:48 AM If this yields undesired behavior (poor response, painting
03/07/2012 09:56:48 AM errors, etc) it may be disabled:
03/07/2012 09:56:48 AM - use '-nowf' to disable wireframing completely.
03/07/2012 09:56:48 AM - use '-nowcr' to disable the Copy Rectangle after the
03/07/2012 09:56:48 AM moved window is released in the new position.
03/07/2012 09:56:48 AM Also see the -help entry for tuning parameters.
03/07/2012 09:56:48 AM You can press 3 Alt_L's (Left "Alt" key) in a row to
03/07/2012 09:56:48 AM repaint the screen, also see the -fixscreen option for
03/07/2012 09:56:48 AM periodic repaints.
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM XFIXES available on display, resetting cursor mode
03/07/2012 09:56:48 AM to: '-cursor most'.
03/07/2012 09:56:48 AM to disable this behavior use: '-cursor arrow'
03/07/2012 09:56:48 AM or '-noxfixes'.
03/07/2012 09:56:48 AM using XFIXES for cursor drawing.
03/07/2012 09:56:48 AM GrabServer control via XTEST.
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM Scroll Detection: -scrollcopyrect mode is in effect to
03/07/2012 09:56:48 AM use RECORD extension to try to detect scrolling windows
03/07/2012 09:56:48 AM (induced by either user keystroke or mouse input).
03/07/2012 09:56:48 AM If this yields undesired behavior (poor response, painting
03/07/2012 09:56:48 AM errors, etc) it may be disabled via: '-noscr'
03/07/2012 09:56:48 AM Also see the -help entry for tuning parameters.
03/07/2012 09:56:48 AM You can press 3 Alt_L's (Left "Alt" key) in a row to
03/07/2012 09:56:48 AM repaint the screen, also see the -fixscreen option for
03/07/2012 09:56:48 AM periodic repaints.
03/07/2012 09:56:48 AM X FBPM extension not supported.
03/07/2012 09:56:48 AM X display is capable of DPMS.
03/07/2012 09:56:48 AM --------------------------------------------------------
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM Default visual ID: 0x21
03/07/2012 09:56:48 AM Read initial data from X display into framebuffer.
03/07/2012 09:56:48 AM initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/4096
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM X display :0 is 32bpp depth=24 true color
03/07/2012 09:56:48 AM
03/07/2012 09:56:48 AM Listening for VNC connections on TCP port 11100
03/07/2012 09:56:48 AM Listening also on IPv6 port 11100 (socket 22)
03/07/2012 09:56:48 AM Xinerama: Library libXinerama is not available to determine
03/07/2012 09:56:48 AM Xinerama: the head geometries, consider using -blackout
03/07/2012 09:56:48 AM Xinerama: if the screen is non-rectangular.
03/07/2012 09:56:48 AM fb read rate: 125 MB/sec
03/07/2012 09:56:48 AM fast read: reset -wait ms to: 10
03/07/2012 09:56:48 AM fast read: reset -defer ms to: 10
03/07/2012 09:56:49 AM The X server says there are 10 mouse buttons.
03/07/2012 09:56:49 AM screen setup finished.
03/07/2012 09:56:49 AM

The VNC desktop is: localhost.localdomain:5200
03/07/2012 09:56:49 AM possible aliases: localhost.localdomain:11100, localhost.localdomain::11100
PORT=11100

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

03/07/2012 09:56:58 AM Got connection from client 127.0.0.1
03/07/2012 09:56:58 AM other clients:
03/07/2012 09:56:58 AM incr accepted_client=1 for 127.0.0.1:34320 sock=24
03/07/2012 09:56:58 AM Client Protocol Version 3.8
03/07/2012 09:56:58 AM Protocol version sent 3.8, using 3.8
03/07/2012 09:56:58 AM rfbProcessClientSecurityType: executing handler for type 40
03/07/2012 09:56:58 AM Pixel format for client 127.0.0.1:
03/07/2012 09:56:58 AM 32 bpp, depth 24, little endian
03/07/2012 09:56:58 AM true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
03/07/2012 09:56:58 AM no translation needed
03/07/2012 09:56:58 AM rfbProcessClientNormalMessage: ignoring unsupported encoding type ultraZip
03/07/2012 09:56:58 AM Using compression level 9 for client 127.0.0.1
03/07/2012 09:56:58 AM Using image quality level 9 for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling KeyboardLedState protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling NewFBSize protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling LastRect protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling SupportedMessages protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling SupportedEncodings protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling ServerIdentity protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling Xvp protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Using tight encoding for client 127.0.0.1
03/07/2012 09:56:58 AM Pixel format for client 127.0.0.1:
03/07/2012 09:56:58 AM 32 bpp, depth 24, little endian
03/07/2012 09:56:58 AM true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
03/07/2012 09:56:58 AM no translation needed
03/07/2012 09:56:58 AM rfbProcessClientNormalMessage: ignoring unsupported encoding type ultraZip
03/07/2012 09:56:58 AM Using compression level 9 for client 127.0.0.1
03/07/2012 09:56:58 AM Using image quality level 9 for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling KeyboardLedState protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling NewFBSize protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling LastRect protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling SupportedMessages protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling SupportedEncodings protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling ServerIdentity protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Enabling Xvp protocol extension for client 127.0.0.1
03/07/2012 09:56:58 AM Switching from tight to tight Encoding for client 127.0.0.1
03/07/2012 09:56:59 AM copy_tiles: allocating first_line at size 33
Tue Jul 3 09:56:59 2012: [INFO] Starting slave "DemoServer" at port 53424
03/07/2012 09:56:59 AM Got connection from client 127.0.0.1
03/07/2012 09:56:59 AM other clients:
03/07/2012 09:56:59 AM 127.0.0.1
03/07/2012 09:56:59 AM incr accepted_client=2 for 127.0.0.1:34322 sock=28
03/07/2012 09:56:59 AM Client Protocol Version 3.8
03/07/2012 09:56:59 AM Protocol version sent 3.8, using 3.8
03/07/2012 09:56:59 AM rfbProcessClientSecurityType: executing handler for type 40
03/07/2012 09:56:59 AM Pixel format for client 127.0.0.1:
03/07/2012 09:56:59 AM 32 bpp, depth 24, little endian
03/07/2012 09:56:59 AM true colour: max r 255 g 255 b 255, shift r 0 g 8 b 16
03/07/2012 09:56:59 AM Enabling X-style cursor updates for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling full-color cursor updates for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling cursor position updates for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling KeyboardLedState protocol extension for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling NewFBSize protocol extension for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling SupportedMessages protocol extension for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling SupportedEncodings protocol extension for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling ServerIdentity protocol extension for client 127.0.0.1
03/07/2012 09:56:59 AM Enabling Xvp protocol extension for client 127.0.0.1
03/07/2012 09:56:59 AM Using raw encoding for client 127.0.0.1
03/07/2012 09:57:04 AM client 2 network rate 53517.8 KB/sec (53517.8 eff KB/sec)
03/07/2012 09:57:04 AM client 2 latency: 0.5 ms
03/07/2012 09:57:04 AM dt1: 0.0588, dt2: 0.0000 dt3: 0.0005 bytes: 3147328
03/07/2012 09:57:04 AM link_rate: LR_LAN - 1 ms, 53517 KB/s
03/07/2012 09:57:04 AM client_set_net: 127.0.0.1 0.0010
03/07/2012 09:57:04 AM client_set_net: 127.0.0.1 0.0002
03/07/2012 09:57:08 AM called initialize_xfixes()
03/07/2012 09:57:41 AM XDAMAGE is not working well... misses: 156/216
03/07/2012 09:57:41 AM Maybe an OpenGL app like Beryl or Compiz is the problem?
03/07/2012 09:57:41 AM Use x11vnc -noxdamage or disable the Beryl/Compiz app.
03/07/2012 09:57:41 AM To disable this check and warning specify -xdamage twice.
03/07/2012 09:58:08 AM XDAMAGE is not working well... misses: 101/216
03/07/2012 09:58:08 AM Maybe an OpenGL app like Beryl or Compiz is the problem?
03/07/2012 09:58:08 AM Use x11vnc -noxdamage or disable the Beryl/Compiz app.
03/07/2012 09:58:08 AM To disable this check and warning specify -xdamage twice.
Tue Jul 3 09:59:22 2012: [INFO] Stopping slave "DemoServer"
03/07/2012 09:59:22 AM client_count: 1
03/07/2012 09:59:22 AM Client 127.0.0.1 gone
03/07/2012 09:59:22 AM Statistics events Transmit/ RawEquiv ( saved)
03/07/2012 09:59:22 AM XvpServerMessage : 2 | 8/ 8 ( 0.0%)
03/07/2012 09:59:22 AM FramebufferUpdate : 1 | 0/ 0 ( 0.0%)
03/07/2012 09:59:22 AM LastRect : 1 | 12/ 12 ( 0.0%)
03/07/2012 09:59:22 AM tight : 44 | 151934/ 3146256 ( 95.2%)
03/07/2012 09:59:22 AM ServerIdentify : 1 | 34/ 34 ( 0.0%)
03/07/2012 09:59:22 AM SupportedEncoding : 1 | 92/ 92 ( 0.0%)
03/07/2012 09:59:22 AM SupportedMessage : 1 | 76/ 76 ( 0.0%)
03/07/2012 09:59:22 AM TOTALS : 51 | 152156/ 3146478 ( 95.2%)
03/07/2012 09:59:22 AM Statistics events Received/ RawEquiv ( saved)
03/07/2012 09:59:22 AM cli2svr-0x00000028 : 3 | 0/ 0 ( 0.0%)
03/07/2012 09:59:22 AM FramebufferUpdate : 1 | 10/ 10 ( 0.0%)
03/07/2012 09:59:22 AM SetEncodings : 2 | 152/ 152 ( 0.0%)
03/07/2012 09:59:22 AM SetPixelFormat : 2 | 40/ 40 ( 0.0%)
03/07/2012 09:59:22 AM TOTALS : 8 | 202/ 202 ( 0.0%)
03/07/2012 09:59:22 AM client_count: 0
03/07/2012 09:59:22 AM Client 127.0.0.1 gone
03/07/2012 09:59:22 AM Statistics events Transmit/ RawEquiv ( saved)
03/07/2012 09:59:22 AM XvpServerMessage : 1 | 4/ 4 ( 0.0%)
03/07/2012 09:59:22 AM FramebufferUpdate : 14 | 0/ 0 ( 0.0%)
03/07/2012 09:59:22 AM raw : 121 | 20937644/ 20937644 ( 0.0%)
03/07/2012 09:59:22 AM ServerIdentify : 1 | 34/ 34 ( 0.0%)
03/07/2012 09:59:22 AM SupportedEncoding : 1 | 92/ 92 ( 0.0%)
03/07/2012 09:59:22 AM SupportedMessage : 1 | 76/ 76 ( 0.0%)
03/07/2012 09:59:22 AM PointerPos : 12 | 144/ 144 ( 0.0%)
03/07/2012 09:59:22 AM RichCursor : 1 | 1374/ 1374 ( 0.0%)
03/07/2012 09:59:22 AM TOTALS : 152 | 20939368/ 20939368 ( 0.0%)
03/07/2012 09:59:22 AM Statistics events Received/ RawEquiv ( saved)
03/07/2012 09:59:22 AM FramebufferUpdate : 15 | 150/ 150 ( 0.0%)
03/07/2012 09:59:22 AM SetEncodings : 1 | 44/ 44 ( 0.0%)
03/07/2012 09:59:22 AM SetPixelFormat : 1 | 20/ 20 ( 0.0%)
03/07/2012 09:59:22 AM TOTALS : 17 | 214/ 214 ( 0.0%)

Discussion