Here is what i do to connect to my remote ubuntu machine.
The first step is to configure the ubuntu machine/server for remote desktop.
This can be done by going to “System -> Preferences -> Remote Desktop” and setting the Remote Desktop Preferences to
Sharing -> Allow other users to view your desktop (Checked) Allow other users to control your desktop (Checked)
Security -> Ask you for confirmation (Un-Checked) Require the user to enter this password: (Checked) Password: Specify the password
Next download and install putty (executable file) and Ultr@VNC.
You need to create a new Stored session in putty.
just enter the login credentials and then select the category “Connections -> SSH -> Tunnels”
Add a new forwarded port with the following:
source port: 5900
destination port: 127.0.0.1:5900
5900 is the port on which VNC listens.

I have written 2 batch scripts, one of which calls the other.
vnc.bat
;Start vnc-local.bat in a minimized window
START /MIN vnc-local.bat
;Wait for userinput after login in putty
PAUSE
;Start vncviewer to connect to localhost
"C:\Program Files\UltraVNC\vncviewer.exe" /64colors /connect localhost /autoscaling
vnc-local.bat
;Start putty with the profile "Cheetah VNC"
"C:\Users\shauvik\Downloads\putty.exe" -load "Cheetah VNC"
I run vnc.bat which opens putty with the Cheetah VNC profile to which i login. After login, i go to the batch window and hit a key to start the other script which loads the vncviewer.
Somehow the /64colors option has no effect and hopefully i’ll figure it out someday.
Comments are closed.