xtightvncviewer command not found

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

Introduction

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

xtightvncviewer: command not found

or when using sudo you get the following error message

sudo: xtightvncviewer: command not found

Solutions to xtightvncviewer: command not found

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

In Ubuntu xtightvncviewer is provided by xtightvncviewer package.

xtightvncviewer 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.

It is implemented in a client/server model. This package provides a client for X, with this you can connect to a vncserver somewhere in the network and display its content in a window. There are vncserver available for other operating systems.

The difference between the xtightvncviewer and the normal vncviewer 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 xvncviewer (> 3.3.3r2) support a new automatic encoding that should be equally good as the tightvnc encoding.

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

sudo apt-get -y install xtightvncviewer

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

You can also use apt command to install xtightvncviewer.

sudo apt -y install xtightvncviewer

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

sudo aptitude install xtightvncviewer

Summary

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