In the code block below we're going to launch two graphical applications on a headless server (no desktop environment) within their own virtual display, then launch an instance of x11vnc server connected to each virtual display. Generally if you have more than one application you might as well run a full desktop environment and vnc server, but this is more fun.
- x11vnc
- the desktop apps you want (handbrake and firefox used in example)
- (optional) fluxbox or other minimal DE