TightVNC installation and use

Set up on the 7th June 2008 using version 1.3.9 on Windows XP Professional SP2

Server installation

  • Download the latest stable setup version (description: 'Self-installing package for Windows') from www.tightvnc.com
  • Note: at the time of writing 1.3.9 is the latest version
  • Run the tightvnc-1.3.9-setup.exe
  • Click Next to set up
  • Click Next to agree terms
  • Choose a destination directory for the program files, then click Next
  • Note: this is usually C:\Program Files\TightVNC
  • 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
  • Choose a Start Menu folder, and then click Next
  • Note: this is usually TightVNC
  • Select any Additional Tasks, and then click Next
  • Note: if vnc is to run at startup select the option register as a system service
  • Click Install
  • Click Finish

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 password when prompted and then close down the TightVNC server. Next, click Start > Run..., type regedit, click Ok and navigate to HKEY_CURRENT_USER > SOFTWARE > ORL > WinVNC3. 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: the benefit of using a reg file, is that you can specify settings for the local machine, the current user and default user
  • 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 hexadecimal the 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 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)

  • 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
  • Run the vncviewer.exe
  • Enter the IP address of the computer to be accessed
  • Choose a Connection profile
  • 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:

Ubuntu install: sudo apt-get install xtightvncviewer

Ubuntu login to a 'locked' computer: 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.

To discuss your requirements in more detail, please contact us using one of the following:
Email: info@forwestmedia.com
Tel: 07979 728 438
Forwest media company profile brochure

PDF icon  Forwest profile brochure

  [280 KB pdf file]

Contact info:

web:
Online form

email:
info@forwestmedia.com

tel:
07979 728 438


Valid XHTML 1.0 Strict

Valid CSS!