Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

x11vnc Server 'n_cache' incompatibility

Post Reply
fingaz
Posts: 2
Joined: 2011-02-18 09:45

x11vnc Server 'n_cache' incompatibility

Post by fingaz »

Hi all,
Could someone advise if there's an option to enable correct handling of the caching options used by x11vnc server?
Basically, i'm using UltraVNC Viewer on my Win7 32bit to connect to x11vnc server on my Linux Debian server; and im starting x11vnc using something along the lines of:

x11vnc -forever -ncache 10 -ncache_cr

And when connecting using VNCViewer, you get 10 screens of additional vertical scroll, consisting of cached imagery.

If there isn't a way to manage this with the current configuration options, are there any plans to incorporate ncache support later down the line?
I find that the performance increase by using these options can be quite substantial.

Thanks in advance!
FingAZ
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: x11vnc Server 'n_cache' incompatibility

Post by B »

Why not just use ssvnc from the same author, on the client side?

http://www.karlrunge.com/x11vnc/ssvnc.html
krunge
20
20
Posts: 39
Joined: 2008-09-13 22:30
Contact:

Re: x11vnc Server 'n_cache' incompatibility

Post by krunge »

The x11vnc -ncache is a hack for client-side caching that will work with unmodified VNC Viewers, provided the viewer can be made to "hide" the cache region from the user's view. Sometimes this happens automatically (SSVNC on unix or macosx), sometimes the user needs to manually resize the viewer window (and perhaps be careful not to bump-scroll down into the cache region), and sometimes the VNC viewer can't handle it at all (or even crashes if the cache region is too big.)

BTW, SSVNC on Windows just provides stock TightVNC VNCVIEWER.EXE as the viewer and that may not be very good at hiding with x11vnc's ncache cache region (I can't remember if it is or not.) By clicking around, you can change the VNC viewer that SSVNC uses on Windows to one of your choice (i.e. better at hiding the cache region.)
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: x11vnc Server 'n_cache' incompatibility

Post by redge »

fingaz

could you try ultravnc viewer 1.0.9.5.1 if solve your issue
[topic=27452][/topic]
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
fingaz
Posts: 2
Joined: 2011-02-18 09:45

Re: x11vnc Server 'n_cache' incompatibility

Post by fingaz »

Yes, the new version certainly seems to be an improvement; but only if i tick the "Auto select best settings" in Options - otherwise it gives me my gdm login screen, and then dies on successful login... and this is true, even if im already logged in! It also hangs for a realllllyyy long time before logging in!

The caching content is still present in the downward scroll; but there isn't any text about "this shouldn't be here" etc etc. - Would i be correct in thinking that i should be resizing the VNC client to match that of the remote desktop in order to fully resolve? Because i can't do that, on the basis that im using a 1024x800 laptop display, against two 1280x1024 monitors (2560x1024) on the remote side?

Tried the x11vnc "official" client, and still has the same issue... so maybe its just the design of the ncache on the server :(
the_mouse
Posts: 1
Joined: 2011-02-23 18:52

Re: x11vnc Server 'n_cache' incompatibility

Post by the_mouse »

Using -ncache when starting my X11VNC is really good in terms of speed improvement. But the additional screens added below the actual desktop makes it quite unusable. Could you add a compatibility feature to fix it? Thank you :wink:
Post Reply