Objective
Learning how to share you desktop using the vnc protocol and the x11vnc application
Requirements
- Having the x11vnc package installed
Conventions
- # – requires given command to be executed with root privileges either
directly as a root user or by use ofsudo
command - $ – given command to be executed as a regular non-privileged user
Introduction
While ssh is a vital tool for every system administrator, being it the most used and secure protocol for remote administration, even capable to grant access to the X11 display server, via X11 forwarding, it is not the right tool to use when the desired target is to share an entire desktop session. In that case the vnc
protocol is our friend. By using it, we can completely control another machine, sharing even keyboard or mouse events.