TightVNC installation and use

Note: Set up on the 10th June 2009 using version 1.3.10 on Windows XP Professional

Server installation

Step 1:

Download the latest stable setup version (description: Self-installing package for Windows') from TightVNC.

Note: At the time of writing 1.3.10 is the latest version.

Step 2:

Run the tightvnc-1.3.10-setup.exe and click Next to set up.

Step 3:

Click Next to agree terms.

Step 4:

Choose a destination directory for the program files, then click Next.

Note: This is usually C:\Program Files\TightVNC.

Step 5:

Select the components to install, and then click Next.

Note: The viewer and documentation files are not required on a server computer, and can be unchecked.

Step 6:

Choose a Start Menu folder, and then click Next.

Note: This is usually TightVNC.

Step 7:

Select any Additional Tasks, and then click Next.

Note: If vnc is to run at startup select the option register as a system service.

Step 8:

Click Install, then click Finish.

Note: A dialog box will prompt for a default password as the installation completes.

Server configuration

Download and run the recommended add-on, dfmirage-setup-1.1.68.2.exe, at the bottom of the TightVNC download page. This will install the DFMirage mirror display driver, which is the preferred display driver.

The server settings can be pre-configured in a windows registry file, which can then be used to easily set up the server in one step.

However, the password entry is stored in the registry as an encrypted hexadecimal value, so unless you know the hex value you want to use, you will have to first start TightVNC, create a password, and then extract the hex value from the registry. To do this:

  • start TightVNC, create a new password in TightVNC (if required) and then close down the TightVNC server.
  • Next, click Start » Run..., type regedit and click Ok
  • Navigate to HKEY_LOCAL_MACHINE » SOFTWARE » ORL » WinVNC3 » Default
  • From here you should be able to see the 16 digit hexadecimal number next to the password entry. Note this down for use later.
Note: An additional benefit of using a reg file is that settings for the local machine, current user and default user can be specified in one step.

Below is the contents of a registry file that has been created with all server settings pre-configured. These can be adjusted to suit by changing the dword value

Open a text editor (i.e. Notepad) and copy and paste the contents below into a new file:


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\ORL\WinVNC3]
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"IdleTimeout"=dword:00000000
"LocalInputsPriorityTime"=dword:00000003
"QuerySetting"=dword:00000002
"QueryTimeout"=dword:0000001e
"QueryAccept"=dword:00000000
"QueryAllowNoPass"=dword:00000000
"LockSetting"=dword:00000000
"RemoveWallpaper"=dword:00000001
"BlankScreen"=dword:00000000
"EnableFileTransfers"=dword:00000001
"PollUnderCursor"=dword:00000001
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000000
"OnlyPollOnEvent"=dword:00000000
"PollingCycle"=dword:00000019
"DontSetHooks"=dword:00000000
"DontUseDriver"=dword:00000000
"DriverDirectAccess"=dword:00000001
"LocalInputsPriority"=dword:00000000
"Password"=hex:tvncpass
"PasswordViewOnly"=hex:tvncpass

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"IdleTimeout"=dword:00000000
"LocalInputsPriorityTime"=dword:00000003
"QuerySetting"=dword:00000002
"QueryTimeout"=dword:0000001e
"QueryAccept"=dword:00000000
"QueryAllowNoPass"=dword:00000000
"LockSetting"=dword:00000000
"RemoveWallpaper"=dword:00000001
"BlankScreen"=dword:00000000
"EnableFileTransfers"=dword:00000001
"Password"=hex:tvncpass
"PasswordViewOnly"=hex:tvncpass
"PollUnderCursor"=dword:00000001
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000000
"OnlyPollOnEvent"=dword:00000000
"PollingCycle"=dword:00000019
"DontSetHooks"=dword:00000000
"DontUseDriver"=dword:00000000
"DriverDirectAccess"=dword:00000001
"LocalInputsPriority"=dword:00000000

[HKEY_USERS\.DEFAULT\Software\ORL\WinVNC3]
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"IdleTimeout"=dword:00000000
"LocalInputsPriorityTime"=dword:00000003
"QuerySetting"=dword:00000002
"QueryTimeout"=dword:0000001e
"QueryAccept"=dword:00000000
"QueryAllowNoPass"=dword:00000000
"LockSetting"=dword:00000000
"RemoveWallpaper"=dword:00000001
"BlankScreen"=dword:00000000
"EnableFileTransfers"=dword:00000001
"PollUnderCursor"=dword:00000001
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000000
"OnlyPollOnEvent"=dword:00000000
"PollingCycle"=dword:00000019
"DontSetHooks"=dword:00000000
"DontUseDriver"=dword:00000000
"DriverDirectAccess"=dword:00000001
"LocalInputsPriority"=dword:00000000
"Password"=hex:tvncpass
"PasswordViewOnly"=hex:tvncpass

Search for and replace the string tvncpass with the hexadecimal value that was noted down earlier from the registry. This will change the primary and view-only passwords for the local machine, the current user and default user.

Note: The format should be as: hex:1a,1a,1a,1a,1a,1a,1a,1a.

Save the file as some-file.reg (a registry file), and then double-click on the registry file to run it.

A dialog box should appear confirming that the settings have been successfully entered into the registry. The server can now be started from the Start Menu.

Note: You can safely remove any shortcuts from the start menu that are not required, leaving only Launch TightVNC Server.

Viewer (connecting to a computer remotely)

Step 1:

Run the TightVNC Viewer executable (vncviewer.exe).

Note: If the self-installing package was downloaded, the VNC viewer should be available from the start menu under C:\Program Files\TightVNC\VNC Viewer.

If the zip file was downloaded, the VNC viewer is available in the extracted directory, as vncviewer.exe.

Step 2:

Enter the IP address of the computer to be accessed.

Step 3:

Choose a Connection profile.

Step 4:

Click Connect.

Notes and Tips

What is the default password in TightVNC?

There is no a hardcoded default password -- that would be too insecure to have one. The "default password" in TightVNC refers to the password used when there is no user logged in (and WinVNC is being run as a system service). To change the default password, choose TightVNC\Administration\Show Default Settings, in the Start\Programs menu.

SOURCE: www.tightvnc.com

Unattended install using a batch file and executables

The TightVNC executables can be downloaded without the installer, which is useful if you want create a batch file for an unattended install using you own custom settings.

Download the latest stable zip version, description: Complete set of executables, no installer) from www.tightvnc.com. The only files required to run TightVNC are: VNCHooks.dll and WinVNC.exe.

TightVNC on Ubuntu:

To install the TightVNC viewer in Ubuntu, from the terminal type:

sudo apt-get install xtightvncviewer

Once installed, type:

xtightvncviewer [IP address]

Ubuntu login to a locked computer:

Press shift + ctrl + alt + del
or, while the mouse is over the VNC screen:
Press F8 for a menu

Go back to the How-to Guides main page.

Search

Starter website

Offering small businesses and individual users the opportunity to have their own website on the internet, our 'starter websites' are available for only £150.

new site offer

To find out more and to see an example of the type of site offered, view our example starter website page.