Forrest logo
back to the vncserver tool

vncserver:tldr:a04e3

vncserver: Launch a VNC Server with specific screen geometry.
$ vncserver --geometry ${width}x${height}
try on your machine

This command is used to start a VNC (Virtual Network Computing) server with a specific screen resolution or geometry. The vncserver is a command-line utility that allows you to set up and control a VNC server on a remote machine, enabling you to access and control its graphical desktop remotely. The --geometry flag is used to specify the screen resolution or geometry of the VNC server's desktop. ${width} and ${height} are variables that hold the desired width and height values. By substituting the ${width} and ${height} variables with specific numeric values, such as 1280x720, you can set the screen resolution to the desired size. For example: ``` vncserver --geometry 1280x720

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 vncserver tool