Skip to content

TobleMiner/vncmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VNCmux

VNCmux is a simple VNC multiplexer service.

Compiling

Dependencies

  • libvncserver

On *buntu/Debian distros use sudo apt install git build-essential libvncserver-dev to install the dependencies.

Use make to build vncmux

Usage

Usage: ./vncmux [-w <width>] [-h <height>] [-r <update rate>] [-l <listen port>] <vnc host> <port>
Options:
  -w <width>       Width of drawing surface in pixels (default: 1920)
  -h <height>      Height of drawing surface in pixels (default: 1080)
  -r <update rate> VNC update rate in Hz (default: 60)
  -l <listen port> Port to listen on (default: 5901)
  -?               Show this help

Common usage scenarios

VNCmux can be used infront of other VNC servers to improve performance and stability of downstream applications. For this type of scenario the downstream application is configured to serve their VNC server via a non-standart port, for example 6000. Then external access to that port is disallowed. Finally vncmux is started to serve a VNC server on the standard port.

iptables -I INPUT 1 --proto tcp --dport 6000 -j REJECT
ip6tables -I INPUT 1 --proto tcp --dport 6000 -j REJECT

vncmux -l 5900 127.0.0.1 6000

About

A simple vnc multiplexer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published