X11vnc

From Alpine Linux
This material is work-in-progress ...

This wiki page is incomplete.
(Last edited by Sertonix on 29 Sep 2023.)

Warning: This project is currently unmaintained and is searching for a new maintainer. See here


x11vnc is a VNC server application that enables one to interact with real X11 displays. Unlike other VNC alternatives (e.g. TigerVNC) which create extra X11 desktop sessions displayed for remote control, x11vnc shows in real time the existing X11 display.

Pre-requisites

Installation

Install the x11vnc package from the community repository

# apk add x11vnc

Setup

Tip: More details can be found by consulting the x11vnc man page

Start X either through your preferred Display Manager or by using the startx command.
Run the below command in a terminal emulator:

$ x11vnc -display :0

Now connect using your preferred VNC viewer.

Note: You will have to set up proper security and networking rules or ssh tunneling if you want to access this VNC server from WAN