I recently updated TigerVNC server (which I run as a standalone server
on Gentoo Linux) to 1.7.1 (-r2), and since doing that, VNC viewer
often freezes (I'm normally using TigerVNC viewer on Windows, which I
upgraded to 1.7.1, and when that didn't resolve the freezes, I also
tried with UltraVNC viewer, but it's experiencing same problems).
The freezes don't start immediately - the first day or so when the
server is running, everything appears to work normally, then the
following things happen:
- if I leave viewer connected (but don't interact with it), the
display stops updating (but it appears that at least some keypresses
still make it to the server)
- if I try connecting with another viewer (either while a viewer is
already connected, or after I disconnected one that has frozen), the
viewer freezes before showing password prompt (with TigerVNC viewer,
this means there's nothing on screen, while UltraVNC viewer is
showing it's connection dialog with Status: Connecting ...)
I tried recompiling the server with different USE flags
(enabling/disabling different compile-time options), however it makes
no difference as far as I can see.
I don't see anything useful in the server's log either:
,-----
| Xvnc TigerVNC 1.7.1 - built Apr 27 2017 10:58:30
| Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
| See
http://www.tigervnc.org for information on TigerVNC.
| Underlying X server release 11901000, The X.Org Foundation
|
|
| Thu Apr 27 11:49:57 2017
| vncext: VNC extension running!
| vncext: Listening for VNC connections on all interface(s), port 5901
| vncext: created VNC server for screen 0
| ** Message: main.vala:110: Session is LXDE
| ** Message: main.vala:111: DE is LXDE
| ** Message: main.vala:142: log directory: /home/p2p/.cache/lxsession/LXDE
| ** Message: main.vala:143: log path: /home/p2p/.cache/lxsession/LXDE/run.log
|
[...]
|
| Fri Apr 28 22:02:14 2017
| Connections: accepted: 192.168.0.5::9313
| SConnection: Client needs protocol version 3.8
| SConnection: Client requests security type VncAuth(2)
| VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
| Connections: closed: 192.168.0.5::9287 (Non-shared connection requested)
| EncodeManager: Framebuffer updates: 0
| EncodeManager: Total: 0 rects, 0 pixels
| EncodeManager: 0 B (1:-nan ratio)
| Connections: closed: 192.168.0.5::9171 (Non-shared connection requested)
| EncodeManager: Framebuffer updates: 0
| EncodeManager: Total: 0 rects, 0 pixels
| EncodeManager: 0 B (1:-nan ratio)
| VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
|
| Fri Apr 28 23:40:21 2017
| Connections: closed: 192.168.0.5::9313 (Clean disconnection)
| EncodeManager: Framebuffer updates: 38089
| EncodeManager: CopyRect:
| EncodeManager: Copies: 4.239 krects, 370.826 Mpixels
| EncodeManager: 66.2344 KiB (1:21870.6 ratio)
| EncodeManager: Hextile:
| EncodeManager: Bitmap RLE: 579 rects, 189.794 kpixels
| EncodeManager: 20.0342 KiB (1:37.3446 ratio)
| EncodeManager: Indexed RLE: 46.671 krects, 113.275 Mpixels
| EncodeManager: 28.7346 MiB (1:15.0566 ratio)
| EncodeManager: Full Colour: 15.507 krects, 109.386 Mpixels
| EncodeManager: 112.42 MiB (1:3.71332 ratio)
| EncodeManager: Tight:
| EncodeManager: Solid: 14.596 krects, 71.098 Mpixels
| EncodeManager: 228.062 KiB (1:1218.52 ratio)
| EncodeManager: Total: 81.592 krects, 664.775 Mpixels
| EncodeManager: 141.461 MiB (1:17.9332 ratio)
|
| Fri Apr 28 23:40:33 2017
| Connections: accepted: 192.168.0.5::11697
|
| Fri Apr 28 23:45:40 2017
| Connections: accepted: 192.168.0.5::11728
|
| Fri Apr 28 23:48:00 2017
| Connections: accepted: 192.168.0.5::11744
| SConnection: Client needs protocol version 3.8
| SConnection: Client requests security type VncAuth(2)
| VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
| Connections: closed: 192.168.0.5::11728 (Non-shared connection requested)
| EncodeManager: Framebuffer updates: 0
| EncodeManager: Total: 0 rects, 0 pixels
| EncodeManager: 0 B (1:-nan ratio)
| Connections: closed: 192.168.0.5::11697 (Non-shared connection requested)
| EncodeManager: Framebuffer updates: 0
| EncodeManager: Total: 0 rects, 0 pixels
| EncodeManager: 0 B (1:-nan ratio)
|
| Fri Apr 28 23:48:01 2017
| VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
|
| Fri Apr 28 23:50:34 2017
| Connections: accepted: 192.168.0.5::11753
`-----
In this case, the viewer froze at 23:17 (according to the clock in
taskbar), and I noticed that around 23:40, when I closed the viewer,
and then tried connecting several times before a connection succeeded.
Any ideas what's causing this? Other than having a hard time
establishing a connection to the server, the server itself seems to be
working just fine.
--
< Jernej Simončič ><><><><><><><><><><><><
https://eternallybored.org/ >
Because 10 billion years' time is so fragile, so ephemeral...
it arouses such a bittersweet, almost heartbreaking fondness.