x11vnc
x11vnc copied to clipboard
low latency high bandwidth link
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
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:
- The mouse pointer with all possible options, doesn't works. It is hidden but I can send events and use it blindly.
- The performance is very bad
My setup:
- x11vnc server on Debian 11. v0.9.16-7 amd64
- vncviewer client: tigervnc-viewer 1.12.0+dfsg-4 on Ubuntu 22.04
Commands:
x11vnc -bg -display :0 -clip 1920x1080+1920+0 -rfbport 5900 -repeat -forever -nonap
vncviewer -shared -ViewOnly -NoJPEG