vncsnapshot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
vncsnapshot: command not found
or when using sudo you get the following error message
sudo: vncsnapshot: command not found
Solutions to vncsnapshot: command not found
How To Fix vncsnapshot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu vncsnapshot is provided by vncsnapshot package.
vncsnapshot is:
VNC Snapshot is a command-line program for VNC. It will save a JPEG image of the VNC server’s screen.
To use this you must be able to connect directly to the VNC server via a TCP connection. It does not yet work for connections tunnelled over SSH.
To fix this problem, we can install more using the command below.
sudo apt-get -y install vncsnapshot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install vncsnapshot.
sudo apt -y install vncsnapshot
Or if you have aptitude installed you can use the following command.
sudo aptitude install vncsnapshot
Summary
In this tutorial we learn how to fix vncsnapshot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.