Help with VNC Please....



Hi Everyone,

I know this is probably basic stuff, but I'll need someone to walk me
though this. I installed VNC and I'm trying to acess my box through SSH
at home from work and I keep getting this error message: "Connection
Closed Unexpectedly".

So, here is my config:

OS: Windows XP
Server is running on Windows box and firewall is enabled.

OS: Windows XP
SSH Client: Secure Shell (from
Tunnel Config:
Comp Name: Monster Listen Port: 5900 Host:
Destination Port: 5900
Comp Name: LocalHost Listen Port: 5901 Host: Desination
Port: 5901

Why am I getting that message? Are my tunnels not set up correctly?
I try to connect using: localhost:1

Thanks for any help and walking me through the setup.


That was a good example. However, one of two things happen:

First, either I get the same error message as before OR the vncview.exe
process starts but I never see my remote computer? The process is
running as I see it in the task manager and all......

Where it asks for my IP in the tunnel setup, is that going to be my
internal IP (192.168.x.x) since I'm connecting via SSH, or is that my
public IP?

Additionally, do I need to forward any ports on my router, like 5900 or


Sooner Al [MVP]

I don't use VNC through a SSH tunnel but I have used Remote Desktop through
a SSH tunnel in the past. In my case I used PuTTY. Here is an example of
that. It may be of some help. Note in the example shown the computer name
maps to a local LAN address on my home LAN, ie. Ashtabula =
and Norman = for example.

Since your using the client have you tried their tech support?


Al Jarvi (MS-MVP Windows Networking)

Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program -
This posting is provided "AS IS" with no warranties, and confers no

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question