Ubuntu – Installing tightvnc on Ubuntu

14.04tightvncserver

how do I install tightvnc on Ubuntu? Have tried to download the rpm and run rpm -ivh packagename but I get this error because of a missing dependency:

    /bin/sh is needed by tightvnc-java-1.3.9-3.noarch

Can't I just install through the commandline?

Best Answer

tightvnc-java should be available in trusty's multiverse repositories:

apt-cache policy tightvnc-java
tightvnc-java:
  Installed: (none)
  Candidate: 1.2.7-8
  Version table:
     1.2.7-8 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages

To install the java client using the commandline, you would do this:

apt-get install tightvnc-java

There is also a X client:

apt-get install xtightvncviewer

And if you need the server:

apt-get install tightvncserver

Perhaps you might want to look at ssvnc as well - the comment within the package says it is an "Enhanced TightVNC viewer with SSL/SSH tunnel helper".

Related Question