LibVNC / x11vnc

a VNC server for real X displays
GNU General Public License v2.0
721 stars 142 forks source link

low latency high bandwidth link #210

Open hinxx opened 1 year ago

hinxx commented 1 year ago

I'm trying to run x11vnc server on a LAN. I would like to achieve maximum performance with minimum latency between the client and the server.

I'm currently running x11vnc like this:

/usr/bin/x11vnc -geometry 2560x1440 -rfbauth /home/dev/.vnc/passwd -display :0 -shared -forever -auth /var/run/lightdm/root/:0 -bg -o /var/log/x11vnc.log -wait 0 -defer 0 -setdefer -2 -nowait_bog -deferupdate 0 -nonap

The client connects like this:

vncviewer -PreferredEncoding=raw

The performance is quite good compared to the defaults. Is there some other parameters I could change / adjust to improve the latency?

Versions:

/usr/bin/x11vnc --version
x11vnc: 0.9.16 lastmod: 2019-01-05

vncviewer --version
TigerVNC Viewer 64-bit v1.10.1
Built on: 2020-04-09 06:49
hpsaturn commented 1 year ago

Same situation for me but a little bit worst. I had my machine with 100 days of uptime, and after reboot it yesterday and then did some updates I have two issues:

My setup:

Commands:

x11vnc -bg -display :0 -clip 1920x1080+1920+0 -rfbport 5900 -repeat -forever -nonap

vncviewer -shared -ViewOnly -NoJPEG