tightvncconnect command not found

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

Introduction

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

tightvncconnect: command not found

or when using sudo you get the following error message

sudo: tightvncconnect: command not found

Solutions to tightvncconnect: command not found

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

In Ubuntu tightvncconnect is provided by tightvncserver package.

tightvncserver 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 a server to which X clients can connect and the server generates a display that can be viewed with a vncviewer.

The difference between the tightvncserver and the normal vncserver is the data encoding, optimized for low bandwidth connections. If the client do not support jpeg or zlib encoding it can use the default one. Later versions of vncserver (> 3.3.3r2) support a new automatic encoding that should be equally good as the tightvnc encoding.

Note: This server does not support or need a display. You need a vncviewer to see something. However, this viewer may also be on a computer running other operating systems in the local net.

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

sudo apt-get -y install tightvncserver

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

You can also use apt command to install tightvncserver.

sudo apt -y install tightvncserver

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

sudo aptitude install tightvncserver

Summary

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