Kill an instance of VNC Server running on a specific display

vncserver

vncserver --kill :{{display_number}}

click the source code to copy install vncserver on any operating system with command-not-found.com