Wednesday, April 6, 2016

Remote Desktop over the Internet using UltraVNC on Windows

Here is a HowTo for setting up a UltraVNC server on your computer, automatically open needed ports, and creating a configured UltraVNC single-click client to let you see someones desktop where all they have to do is start the client you send to them. No installations!
(A great alternative is TeamViewer which is free for personal use, but expensive for commercial use)

Here is how:

- Download UltraVNC and install:
See bottom of: http://www.uvnc.com/downloads/ultravnc.html

- Download UltraVNC SingleClick custom.zip package from:
http://www.uvnc.com/pchelpware/sc/create.html

- Extract helpdesk.txt file.

- Edit to look like you want to.
Example helpdesk.txt:

[TITLE]
UltraVnc SC

[HOST]
My RDC connection
-connect 158.158.158.158:5900 -noregistry

[TEXTTOP]
Double click to open connection

[TEXTMIDDLE]

[TEXTBOTTOM]


[TEXTRBOTTOM]


[TEXTRMIDDLE]


[TEXTRTOP]


[TEXTBUTTON]
UltraVNC web

[WEBPAGE]
http://www.ultravnc.net

[TEXTCLOSEBUTTON]
Cancel


[BALLOON1TITLE]
Establishing connection ...

[BALLOON1A]
5 min connection attempt

[BALLOON1B]
If it fails, the software will close.

[BALLOON1C]


[BALLOON2TITLE]
Connection active.

[BALLOON2A]
Warning, your desktop is visible remotely

[BALLOON2B]
You can break the connection any time

[BALLOON2C]
by using the close button



(remember to replace 158.158.158.158 with your external IP, e.g. from https://www.whatismyip.com/)

- Create a ZIP file with only helpdesk.txt in it.

- Go to:
http://support1.uvnc.com/cgi-bin/upload4.pl

- Enter user: foo
- Enter password: foobar
- Select Zip file containing helpdesk.txt
- Click Upload
- Wait until you a link to download exe file appears. Then download the exe file.
- Start it to see what it looks like.


- Download UPnP PortMapper to open the needed port on your computer (if you havent done so manually on your router).
https://sourceforge.net/projects/upnp-portmapper/files/latest/download
https://github.com/kaklakariada/portmapper

- Open PortMapper jar file (should need only double-click if you have Java installed).
- Under the section "Port Mapping presets", select Create button.
- Enter a description, e.g. UltraVNC.
- Then click Add button.
- Change port 1 to 5900 in both External Port and Internal Port columns.
- Not sure if you also need UDP port open, but might be useful so click Add again and select UDP with port 5900 internal and external.
- Click save.

- Click connect to connect to your router.
When successfully connected (you might get an error, but stuff seems to work regardless).
- Select your UltraVNC entry in the list and press "Use".
- Wait for ports to show up in the list above.

Now you have ports open. You need to start VNC listener:
- Open command line prompt (cmd in windows start menu) and navigate to where you installed UltraVNC and run it with flag -listen 5900 to tell it to listen on port 5900:

cd "C:\Program Files\uvnc bvba\UltraVnc"
vncviewer.exe -listen 5900


- Finally, send the exe file you generated from helpdesk.txt (not the zip file) to the person you want to connect to. Get the person to open the file and double click on the top option and you should get a message on your computer asking you to accept the connection.


Source:
http://www.uvnc.com/docs/uvnc-sc/76-how-to-setup-and-configure-a-custom-Ultra%20VNC-sc.html

1 comment: