tightvncpasswd command not found

In this troubleshooting guide we learn how to fix tightvncpasswd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tightvncpasswd: command not found

or when using sudo you get the following error message

sudo: tightvncpasswd: command not found

Solutions to tightvncpasswd: command not found

How To Fix tightvncpasswd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tightvncpasswd is provided by tightvncpasswd package.

tightvncpasswd is:

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing `desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

This package provides the vncpasswd tool mandatory for the tightvncserver and optional for the xtightvncviewer.

To fix this problem, we can install more using the command below.

sudo apt-get -y install tightvncpasswd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install tightvncpasswd.

sudo apt -y install tightvncpasswd

Or if you have aptitude installed you can use the following command.

sudo aptitude install tightvncpasswd

Summary

In this tutorial we learn how to fix tightvncpasswd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.