Hardware and software setup

Installing and configuring UltraVNC. Setting up a free remote access system (support) based on UVNC Ultravnc repeater how it works

Installing and configuring UltraVNC.

UltraVNC is for remote connection to computers, servers local network or the internet. You need a direct static IP address, or a DNS name of a computer with a direct connection to the network, without a proxy and with a properly configured firewall. In the case of using routers, etc. devices with NAT enabled, you need to forward the port to be able to connect to the UltraVNC server from the outside. (Standard/default port: 5900). In the case of complex configurations with proxies or indirect addresses, it is possible to use a repeater, but it is not considered here.


This short article describes the basic steps for installing and configuring the UltraVNC server, add-ons (drivers, encryption libraries) and the Viewer.

So part 1 - installation:
First, install the server-viewer package. We launch setup file according to the bitness operating system (32-64):

We agree with license agreement:

We select the components we need, in this case we install for the first time, so we select the server and viewer. If there was a need to update more old version, then it would be necessary to put a daw on the bottom item. The top item is most likely responsible for the "silent" installation of the server, i. Most likely, further questions on the configuration will not be asked.

In this dialog box, put all the checkboxes, because. it is necessary that the server service registers as a system service and starts, server and client shortcuts are also created on the desktop and file associations are made.

This completes the installation of UltraVNC.

But as you know, everything is not so simple, so you need to install another set of extensions (Addons). If this is not done, then there may be problems with displaying the transmitted image from the server, and also if you need to communicate encryptedly with the server (in case of paranoia).
Run the UltraVNC Addons file with the appropriate bit depth:

We agree with the license agreement and continue:

We select the set of components we need, usually these are the first 3 daws, but if you have Windows 8, then most likely we put the last 2 instead of 1 daw.

This completes the installation of additional components. Now you need to configure the server part, and then create server connection files on the client computer to simplify the access process.


Part 2 - setting up the VNC server and driver.
We find the UltraVNC server icon in the lower right part of the screen in the taskbar, usually it is a blue eye, right-click on it, a menu will open in which you need to select the Properties item.

After that we see a window with server settings related to the display. Here it is necessary to put daws, as on this image. Because we have delivered additional components, you need to use them, for this we put daws on the items System HookDll and Mirror Driver, this is the so-called mirror driver, which is responsible for the process of capturing a picture from the server screen. It is also better to uncheck the Low Accuracy item. the picture will be transmitted torn if the server is heavily loaded. True, it may be necessary if the server load is very critical, but in general it is better to disable it. You can also configure the maximum CPU resources allocated to the UltraVNC server as a percentage. Next, you need to check whether the driver is installed correctly and whether it is used in the system, click the Check the Mirror Driver button.

The following window will appear. Which should show the same. Driver found. The version is ok. The driver is not active (because more than one client is not connected). This completes the program settings, let's move on to setting up access.

To set the administrator parameters, again find the UltraVNC server icon in the taskbar, click right click mouse and select Admin Properties from the menu that opens.

The administrator settings window opens. Here, in a typical situation, the following configuration will work as in the image, you need to check the boxes in accordance. And also enter the password twice, enter carefully and first check the keyboard layout. Also note that the second password is for view-only clients! If your passwords are the same in both fields, then you will always connect with the ability to perform any action. If you need to connect to the server without using the UltraVNC client, then you can check the JavaViewer checkbox, then you can connect to the server through the browser using the selected port. IN this option the ability to connect to the server simultaneously by several clients is selected, if you want only 1 person to work at a time, select the item in the Multi viewer connections -> Disconnect all existing connections block. Here you can also select a plugin, for example, to encrypt all connections, but on the client side you will have to use the same plugin. Here you can also set actions, what to do in case of disconnection of the last client from the server, as well as prohibit input from the client side, input from the server side.

On this, all the settings are completed, the server is operating in normal mode, you can try to connect using the client on the same server to check the connection, or on any other. When using the client, there are some nuances for setting up the image and input, the next paragraph is about this.

Part 3 - configuring the UltraVNC client.
We start the client by a shortcut on the desktop. Green - client, blue server, you can immediately delete it, because the server always hangs in the control panel and all settings are made from there. After starting the client, we see the following window. Here you need to enter the IP address of the UltraVNC server, in this case we can even connect to ourselves. Usually, in auto mode on the local network, everything works well, but there may be nuances, either the network channel is loaded, or the connection via the Internet, or the server is installed on old equipment, and then it will come in handy additional settings, you can select them by experimenting with different variations. It also specifies the encryption plugin if your server uses it. It is possible to use an UltraVNC proxy/repeater. You can save the current settings as "default". We are interested in the settings, click Options...

The connection settings window opens. Usually, in the Format and Encoding block, the auto mode gives acceptable results, if not, then select it. Below in the Misc block, you can prohibit the transfer of data from the clipboard, prohibit the display of a sponsor's banner. An important point may be the cursor setting, because. noticed that on some systems (for example, when using virtual machine Windows 2000 on an UltraVNC server) gives a black square around the mouse cursor, which is inconvenient when working. In such cases, I usually put the radio dot on the 2nd item - Let remote server deal with mouse cursor. Also, for the convenience of work, we immediately check the Full-screen mode checkbox and you can remove the button bar, uncheck the Show Buttons Bar checkbox, but for beginners it will be difficult not knowing the possibilities, so we leave it by default. This completes the settings, click OK.

In everyday life, quite often a situation arises when it is necessary to install or configure programs on computers located in a neighboring office, office or in another city. Of course, running from office to office is good for your health, especially if you have to service more than 30 computers :)), but we will not bully ourselves like that, we will organize and configure remote access to a PC. Programs for remote access There are so many and each one stands out in its own way.

For more advanced users

Consider UltraVNC. Why did you choose this program?:

  • free,
  • Supports Client Server mode of operation.
  • Supports file transfer
  • Multi-client mode
  • Works under windows, Linux, Mac OS X
  • Implemented encryption
  • Possibility of deployment in the domain through policies.

Installing and configuring UltraVNC

Below I will describe the settings for the especially curious.

Incoming Connections- incoming connections

  • Accept Socket Connections— allow incoming connections.
  • display: display number.
  • Ports— ports used by the program.
  • Main: port for UltraVNC client by default 5900.
  • http: port to connect via the web interface, At the initial connection, the program will offer to download the java plugin, it is necessary to connect via the web form.
  • Enable Java Viewer (Http Connect) allow connections via Http.
  • Allow Loopback Connections- allow connections in the return line, leave a tick yes.
  • Loopback Only- allow only reverse connections.

When Last Client DisconnectsWhen the last client disconnects, the actions

  • Do Nothing- translates to do nothing. Let the tick be on it :)
  • Lock Workstation (W2K) - blocking workstation for (W2K).
  • Logoff Workstation - workstation output.

Query On Incoming ConnectionRequest incoming connections

  • Display Query Window— show the query window.
  • timeout- Time out.
  • default action is the default action. Refuse - reject, Accept - accept.

Keyboard & Mouse- keyboard and mouse.

  • Disable Viewer Inputs- disable computer management, current viewing will be allowed.
  • Disable local inputs- disable local input.

Multi Viewer Connections- actions when connecting multiple users.

  • Disconnect all existing connectionsallows only one user to connect, and disables all other clients.
  • Keep existing connections- keep the current connection. Several clients can be connected at the same time.
  • Refuse the new connection- disable new connections
  • Refuse all new connections- refuse new connections.

Authentication - authentication.

  • VNC Password- login password. After installation, you need to come up with New password otherwise you won't be able to connect.
  • Require MS Logon- if the computer is in the domain, then you can use the login and password of Windows

Misc - optional

  • Remove Aero (Vista)- disable the visual effects of Vista. We leave a checkmark.
  • Remove Wallpaper for Viewers- disable wallpaper. For a finger-free login to a PC, it is better to uncheck it, since when you connect to a user, his wallpaper will disappear. But if we need high performance, enable this setting.
  • Capture Alpha Blending- allow you to view the video on the client side. Although this option does not always work.
  • Disable tray icon- remove the icon.
  • Forbid the user to close down WinVNC- prohibit closing UltraVnc server.
  • Default Server Screen Scale- default screen scale.

File Transfer - file management.

  • enable- Allow file transfer.

Connecting to UltraVnc server

We launch UlnraVnc viewer (vncviewer.exe) the settings window appears:

  • VNC Server:- the address of the computer to which we are connecting
  • AUTO, ULTRA, LAN, MEDIUM, MODEM, SLOW, MANUAL- connection mode, select depending on the connection speed. Leave AUTO
  • View Only- allows current viewing
  • auto scaling- auto scale
  • Confirm Exit- confirm if we want to close the session
  • Use DSMPlugin-selection and use of additional plugins
  • Proxy/Repeater- specify the proxy or repeater, if we have them.
  • Save connection settings as default- save the current settings and use them by default.

  • Track remote cursor locally- display mouse cursor
  • Don't show remote cursor- do not display mouse cursor
  • Show button's bar— show/hide toolbar
  • Full screen mode- open in full screen
  • Viewer Scale- open on % of the screen
  • Disable clipboard transfer- disable shared clipboard
  • Number of times the reconnect is attemptedNumber of times an attempt is made to recover compound

Attention! Came out a new version UVNC - 1.0.9.2 . Declared support for Windows 7, Vista and Aero!

Consider the following situation. Remote office, there is a local network for several computers, NAT router. One of the computers needs to be accessed remotely to provide remote assistance. The computer is running Windows control 7.

Launch the UltraVNC installer. The first few screens are the usual blah blah, familiarization with the license, etc. Important Points start with the installation type selection screen:

Several options are available:

  • Full installation - complete installation. Installed server + client.
  • UltraVNC Server Only - only the server is installed.
  • UltraVNC Server Only "silent" - only the server is installed in the "no questions asked" mode.
  • UltraVNC Viewer Only - only the client is installed.

Our choice is UltraVNC Server Only.

Next, we are invited to download add-ons for Windows Vista(they are also relevant for the Seven). The most important of them: cad.exe - without it, the client will not be able to send the CTRL + ALT + DEL command to the remote computer. Check the "Download Vista addons files now" option.

In the next window, we will be prompted to download the capture driver. Personally, I prefer to install the driver manually, so we DO NOT check the Download mirror driver option:

Next screen:

Checking the options:

  • Register UltraVNC Server as a system service - register the UltraVNC server as a system service.
  • Start or restart UltraVNC service - start/restart the UltraVNC service.
  • Create UltraVNC desktop icons - create shortcuts on the desktop.
  • Associate UltraVNC Viewer with .vnc file extension - open files with .vnc extension using UltraVNC Viewer.

Click Next, after downloading the add-ons, we complete the installation. Reboot if necessary.


The driver.zip archive contains several folders corresponding to different versions OS. To install under 32-bit Windows 7, open the Vista folder (this driver works fine under Seven as well). Next, run the install.bat file. To the question of the system: "Install software for this device? answer Install.

Now you can move on to configuring the basic settings of the UltraVNC server.

Setting up Ultra VNC.

In the tray, right-click on the UltraVNC icon and select Admin Properties:

More about settings. Section Incoming Connections - incoming connections.

  • Accept Socket Connections - accept incoming connections. For normal operation, this item must be checked.
  • Display - display number.
  • Ports - ports. Main - port for connecting the uvnc client. Http - port for connecting a java client. It's best to leave it set to Auto.
  • Enable Java Viewer (Http Connect) - allow java client connections.
  • Allow Loopback Connections - allow reverse connections (connections to addresses from the 127.х.х.х range). must be noted if a repeater is installed on this computer.
  • Loopback Only - Allow only reverse connections.

Section When Last Client Disconnects - when the last client is disconnected.

  • Do Nothing - do nothing. We leave this option.
  • Lock Workstation (W2K) - lock the session (you will need to enter a password to enter).
  • Logoff Workstation - end the session.

Query On Incoming Connection section - display a query when a new incoming connection is received.

  • Display Query Window - show the query window.
  • Timeout is the time until the default action is executed.
  • Default action - default action. Refuse - reject, Accept - accept.

Keyboard & Mouse section - keyboard and mouse.

  • Disable Viewers Inputs - disable input from the client.
  • Disable Local Inputs - disable input from the server.
  • Japanese - ??? Perhaps, it means support for the Japanese keyboard ... Sometimes it helps with glitches with the Russian layout.

Multi Viewer Connections section - simultaneous connection multiple clients.

  • Disconnect all existing connections - disable all current connections. Only one client can be connected at a time. The last one to connect wins.
  • Keep existing connections - keep current connections. Several clients can be connected at the same time.
  • Refuse the new connection - ???. The meaning is not clear. When this option is set, you can connect to multiple clients...
  • Refuse all new connections - deny all new connections. Only one client can be connected at a time. The first one to connect wins. We choose this option.

Section Authentication - authentication.

  • VNC Password - login password. After installation, you must come up with a new password, otherwise you will not be able to connect.
  • View-Only Password - password to enter the view mode. With this password, the client will connect in view mode (client and server settings are ignored).
  • Require MS Logon - use Windows authentication(computer and user must be in the same domain).
  • New MS Logon - Enables MS-Logon II (cross-domain authentication).

Section Misc. - different.

  • Remove Aero (Vista) - disable Aero (3D, transparency and other Vista interface gadgets). Recommended.
  • Remove Wallpaper for Viewers - remove desktop wallpaper. Recommended.
  • Enable Blank Monitor on Viewer Request - at the request of the client, disables the server monitor (the picture is displayed in full screen). Strange, but the option also covers the client screen with a picture. This bug can be bypassed by disabling the use of the capture driver (Properties -> Video Hook Driver).
  • Disable Only Inputs on Blanking Request - prohibits only input from the server console, while the screen does not close.
  • Enable Alpha-Blending Monitor Blanking is another option to disable the server monitor. Use if you have problems with the first option.
  • Capture Alpha-Blending - enabling this option allows IN SOME CASES to "see" the client video running on the server in the video player, for example, in Windows Media Player (depending on the codecs installed on the server computer).
  • Disable Tray icon - remove the icon from the tray. If the user is curious, it is better to remove it.
  • Forbid the user to close down WinVNC - forbid the user to close the uvnc server. Recommended.
  • Default Server Screen Scale - default screen scale.

Section File Transfer - file transfer.

  • Enable - enable file transfer.
  • User Impersonation (for Service only) - ???

DSM (Data Stream Modification) Plugin section - plug-ins connection (several plug-ins are currently available for data stream encryption).

Section Logging - creating a log file.

  • Log Debug infos to the WinVNC.log file - recording data about the functioning of uvnc in a log file.
  • Path - the path to save the log file.

After setting the parameters, click Apply and then OK. Every Windows times will ask you to confirm the changes.

The next step is the screen capture settings. Right click on the UltraVNC icon and select Properties.

  • Poll Full Screen (Ultra Fast) - ??? I didn't notice any difference when turning it on/off.
  • Poll Foreground Window - ??? When using this and the next three options, some parts of the screen may freeze and stop updating. This information is just my guess...
  • Poll Console Windows Only -???
  • Poll Window Under Cursor - ???
  • Poll On Event Only - ???
  • System HookDll - the option makes sense on Windows 9x.
  • Video Hook Driver - use the video capture driver. Provides best performance on Windows XP/Vista/7. This option provides the best performance.
  • Low Accuracy (Turbo Speed) - gives an increase in speed due to a decrease in accuracy (I personally did not notice any changes, perhaps this option is for slow connections).
  • Share only the Server Window Named: - do not show the entire screen, but only the window with given name. No matter how much I tried, it never worked...

The Check the Video Hook Driver button is used to check the operation of the capture driver. It should only be used if at least one client is connected to the server. IN otherwise a message will always be displayed that the driver is not active. This is what the message looks like that the driver is installed and functioning:

On this setting basic setup UltraVNC server is complete.

In order for the server to be accessible via the Internet, it is necessary to configure tcp 5900 port forwarding on the router. Also, this port must be open in the server's firewall. If you are using only the built-in Windows Firewall, then you do not need to take any additional steps, the necessary permissions are already created during installation.

Server connection

Launch UltraVNC Viewer (client):

Main parameters of UltraVNC Viewer:

  • VNC Server - server address.
  • AUTO, ULTRA, LAN, MEDIUM, MODEM, SLOW, MANUAL — depending on the speed of your channel, the program optimizes the quality settings.
  • View Only - connect in view mode. Interaction with the console is prohibited.
  • Auto Scaling - auto tuning scale. Check to prevent scrollbars from appearing.
  • Confirm Exit - confirm the exit. When the client window is closed, a dialog box will be displayed.
  • Use DSMPlugin - use the plugin.
  • Proxy/Repeater - use a repeater. Here you must specify the address of the repeater.
  • Save connection settings as default - save current settings as default settings.

Additional parameters of the uvnc client (Options button):

I will not describe all the options, I will note only the most important ones:

  • Track remote cursor locally - show cursor/mouse pointer.
  • Don't show remote cursor - do not show the cursor / mouse pointer.
  • Show button's bar ("Toolbar") - show or not the toolbar.
  • Full-screen mode - full screen mode.
  • Viewer Scale - scaling settings.
  • Disable clipboard transfer - disable clipboard synchronization.
  • Number of times the reconnect is attempted - the number of reconnect attempts.

Installing and configuring the repeater.

Download repeater.zip . There is only one file in the archive - repeater.exe. I recommend immediately moving it to the C:\Program Files\UltraVNC\Repeater folder.

Run repeater.exe. An icon will appear in the tray. We make a right click on it and select the Settings item in the menu:

You should check the values ​​of the following options:

  • Listen port viewer - value 5901.
  • Enable Proxy(443) - disable.
  • Enable Mode I - enabled.
  • Enable Mode II - disable.

The rest of the options are left unchanged. Save - save the settings and close the window.

The next step is to open tcp port 5901 in the firewall. In the router settings, you need to create a rule to forward the tcp port 5901 to the computer where the repeater is installed.

To connect via a repeater in the client settings, do the following:

  • In the VNC Server field, specify not external, but internal address server on the local network.
  • Check the Proxy / Repeater option and specify the external address of the router with the port on which the repeater is configured (for example, 83.45.67.8 :5901 ).

Finishing touch. For the repeater to be always available, it must be run as a system service. For this we open command line as administrator, and run repeater.exe with the -install option. The service repeater_service will be created (it is not started by default, so start it manually or just reboot).
To uninstall the service, run repeater.exe with the -uninstall option.

UltraVNC SC (Single Click) - remote assistance without first installing an UltraVNC server.

How it works. On your computer, you start UltraVNC Viewer in listen mode. send (by e-mail or otherwise) to a remote computer, an archive with a pre-configured UltraVNC SC server. The user unpacks the archive, launches the program and connects. As a result, you get access to the console of the remote computer. Because the connection is initiated by the remote computer, there is no need to configure the firewall and router on the remote network.

Now more about the setting. First you need to configure UltraVNC SC.

We need the following files: winvnc_SCII_100.exe and custom.zip . Next, create a folder with an arbitrary name (for example, UltraVNC SC). It has a data subfolder. We transfer winvnc_SCII_100.exe to this subfolder and unpack the contents of custom.zip there.

Now you need to edit the helpdesk.txt file. This file is responsible for the connection manager interface:

Each section of helpdesk.txt is responsible for a text field (see screenshot below):

Here is an example of my helpdesk.txt:

Remote assistance q2w3.ru maxbond.no-ip.org -connect test.no-ip.org:5500 -noregistry // instead of test.no-ip.org you need to specify your ip-address or domain, port 5500 is better not to change Select connection Use double click to start connection q2w3.ru http://www.q2w3.ru Close Connection... Connection established!

If you create your own helpdesk.txt based on mine, don't forget to remove the comments starting with "\\".

The rc4.key file is not deleted, it is needed for encryption.

We return to the UltraVNC SC folder. So that the user is not confused, let's create a shortcut to launch winwvnc_SCII_100.exe directly from it. To do this, right-click on winwvnc_SCII_100.exe and select "Create Shortcut". We transfer the created shortcut to a higher level, in UltraVNC SC. Now open the shortcut properties. The field "Working folder" is cleared, it should be empty. Enter the following command in the field:

%windir%\system32\cmd.exe /C start /B /D .\data .\data\winvnc_SCII_100.exe

All this magic is necessary so that the shortcut uses a relative path to launch winvnc_SCII_100.exe, and not an absolute one, as is the default.

In the end, we pack the UltraVNC SC folder into an archive and send it to the user.

It remains to prepare your computer to receive the connection. UltraVNC Viewer must be launched in listen mode. To do this, use the shortcut Programs -> UltraVNC -> UltraVNC Viewer -> Run UltraVNC Viewer (listen mode) or run vncviewer.exe with the -listen parameter. Also don't forget to open port tcp 5500 in the firewall and configure forwarding of the same port on the router (if, of course, there is one on your network).

Please note that the connection parameters (quality, etc.) are still configured in the UltraVNC Viewer (right click on the uvnc icon in the tray -> Default connection options…).

  • How to save connection settings to a file?
    Connect to the server (you can save settings only during the connection), then click CTRL+ALT+F5.

There are situations when the functionality RDP Client for Windows may not be enough. For example, when you need to connect to a user session without interrupting it. It may not always be rational to buy commercial versions similar programs. In this case, UltraVNC will help - a free program with open source for remote desktop access.

Install UltraVNC server

The first step is to install the UltraVNC server on the computer to which you want to connect remotely. We start the distribution kit and leave a checkmark UltraVNC server.


If you want the server to start at Windows startup, then in the next step you can install it as a system service.

When connecting to the UltraVNC server via the Internet, it is recommended to use the encryption module. The fact is that by default the VNC protocol does not encrypt data and they are transmitted in the clear. Therefore, the data can be intercepted by intruders. A link to the encryption plugin can be found on the program page. The plugin should be copied to the folder with installed program, default: C:\Program Files\uvnc bvba\UltraVNC.
After installing the server, we find the UltraVNC server icon in the tray next to the clock, right-click and select "Admin Properties".

Here you need to set the connection password "VNC Password" and the password for the view mode. The passwords must be different, otherwise only view mode will be available. To use a secure connection, check the "DSM plugin use" checkbox and select SecureVNCPlugin.

To configure the plugin parameters, click the Config button. Here you can select the appropriate encryption technology for the connection. It is not necessary to generate keys, they are generated automatically when a connection is established.

Configuring the UltraVNC Client

To install the client during installation, check the UltraVNC Viewer checkbox. If the encryption plugin is used on the server, then it must also be installed on the client. Copy the SecureVNCPlugin to the client folder: C:\ProgramFiles\uvncbvba\UltraVNC. After that, launch the client and check the "Use DSMPlugin" box. Next, enter the IP address of the server or its name on the local network. To save the settings as permanent, check “Save connections settings as default” at the bottom.

To connect to a remote desktop via the Internet, you need to open a port and configure NAT address translation. By default, TCP port 5900 is used. However, it can be changed in the server settings.

I have been nurturing the idea for a long time in order to manage my home server remotely. But just as long ago, there was still no idea which of my home computers was the server at a particular moment. However, I recently bought myself a new TV with network connection Samsung UE40D5000, then I bought a Pegatron Duke 3G Android tablet. Both are wonderful devices worthy of a separate article. As a result, the concept had to be completely redesigned. home media server. In the end, I implemented remote control home server with free program.

In addition, my entire network has been sitting behind a router for a long time, this has added new facets to the UltraVNC setup process. I had to forward ports. Everything worked, I think my instructions will help many.

About choosing a VNC client

I chose as VNC Client, and servers free program UltraVNC. There was no reason to choose him. Just stumbled upon it first. It seemed to be easier to set up than radmin (probably the most popular VNC client). And so it turned out - UltraVNC is very easy to set up. Plus UltraVNC has portable version client. This is helpful to many.

There will be no revelations here. The installation process is quite trivial. Downloaded, installed. Registered ports and passwords. The main thing in my case is that the server is sitting behind the router - to register the ports. "Auto" cannot be selected in this case.

Setting up UltraVNC behind a router - port forwarding.

There were no difficulties with connecting to the installed UltraVNC via LAN. But when I tried to connect from an external IP, nothing happened. It is understandable. In order to see the UltraVNC server behind the router from an external IP, you need at least.

Liked the article? Share with friends!
Was this article helpful?
Yes
Not
Thanks for your feedback!
Something went wrong and your vote was not counted.
Thanks. Your message has been sent
Did you find an error in the text?
Select it, click Ctrl+Enter and we'll fix it!