Forrest logo
back to the x11vnc tool

x11vnc:tldr:60c08

x11vnc: Launch a VNC server on the third display's default screen.
$ x11vnc -display :${2}
try on your machine

This command starts the x11vnc server, which allows you to remotely access and control the X Window System, using the specified display number.

Here is the breakdown of the command:

  • x11vnc is the name of the program that runs the VNC server for the X Window System.
  • -display is an option that specifies the X display to use.
  • :${2} is a variable representing the value of the second parameter passed to the command. In shell scripting, variables are denoted with the $ sign and the number represents the position of the parameter (starting from 1).

For example, if you run the command x11vnc -display :3, it will start the x11vnc server on display number 3. The value of ${2} will be replaced with the second parameter you provide when executing the command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the x11vnc tool