How to get TightVNC viewer working in Java

February 28, 2015   /   by Marco  / Categories :  Technology

This took me a while to figure out so thought I’d better document it here otherwise I’m going to forget. TightVNC is a free remote control tool that runs on a Windows PC. Once you install the software on the PC, you are able to remotely connect and manage the PC as if you were sitting right in front of it. TightVNC does have the feature to connect to the PC remotely via a browser as well by using Java. This is what I had to do:

Go here and download and setup TightVNC Java Viewer

Download TightVNC Java Viewer and open the zip file

tightvnc java viewer zip file

Extract the files into a folder and then copy the viewer-applet-example.html to another file called viewer.html

tightvnc java viewer zip file viewer

Open the file viewer.html and make the relevant changes, below is a guide

tightvnc viewer html

Change the localhost to the IP address of the PC you want to control. Now there is an option to add the password but as you can see in the screenshot it’s not recommended because the password will be in clear text. If you leave this out, a popup to enter the password will be displayed when the html file is opened.  Alternatively, if you just want to monitor the PC then you can use a feature called View Only. You will need to setup a View Only account on the PC you want to control.

Most of the settings in the file you can leave as default unless you have a specific need to change it.

Open the HTML file using your browser and then you will be able to access the PC.

So you may be asking yourself why not just use the TightVNC viewer software, but the point of using this Java version is that you can run this on a web server and have access to the PC without installation of the TightVNC software.

OTHER NOTES

You need to make sure you have Java installed but first confirm which version you need to install e.g 32-bit or 64-bit. Also check with version of the browser you’re currently using or intend to use to open the HTML file.

I have found that using 64 bit version of Chrome and 64 bit Java was more stable than 32 bit.

I have tested with Java version 7.50 and you can download it here

The filename: jre-7u5-windows-i586.exe

If you’re intending to use the latest version of Java then you will need to make sure you then exclude the site from the Java security settings. Read more about this here.

Follow the default settings during the install.
Now go to your browser and confirm that it’s been installed. e.g in chrome go to chrome://plugins and on the list check if its listed and is enabled

Java Version in Chrome enabled

 

Now open the HTML file in your browser and test.

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


USE THESE TOOLS TO BUILD YOUR BUSINESS

USE THESE TOOLS TO BUILD YOUR BUSINESS

Building a business has never been short on ambition, but it has often been short on time, budget, and operational headroom. Founders are expected to market like a media team, sell like a seasoned closer, support customers around the clock, manage projects with precision, and still find space to think strategically. That is exactly why […]

read more
HOW TO USE SPLIT VIEW IN GOOGLE CHROME

HOW TO USE SPLIT VIEW IN GOOGLE CHROME

Google Chrome is full of useful features that many people never notice until they appear by accident during everyday browsing. One of those quietly helpful tools is Split View, a feature that makes it much easier to work with two tabs side by side in the same browser window. If you regularly compare documents, read […]

read more

Like our Page