It never fails: no matter how hard I try to solve a problem, I only ever find the solution after I've posted a question about it somewhere. (And it's almost always within about 5 minutes of posting the question, too.)

I eventually googled upon this: on the Windows VNC server, you need to run regedit and create this key:

HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\AllowLoopback

Value is DWORD hex 1

(And apparently there is a similar key that ends in AllowLoopbackOnly, but that one doesn't work.)

And I didn't need to open anything new, on either firewall. All I needed was the SSH port (which had already been open) on the server's firewall. After making the above registry change and restarting the VNC server service, I connected right up, using the PuTTY SSH client on my Windows XP system, and the command-line ssh program on my Slackware Linux system.

-Anthony
http://nodivisions.com/


Anthony wrote:
Hello,

I'm new to VNC and it seems like my setup is somewhat complex.

Both my server (Windows 2000) and my clients (Windows XP, and also Slackware Linux 9.0) are behind routers which have built-in NAT/firewalls. My goal is to connect through SSH, and I have the OpenSSH server running on the Windows 2000 box.

So I'm following the directions here:

http://www.uk.research.att.com/archive/vnc/sshvnc.html

...but I can't seem to get it, and I wonder if the firewalls add extra complexity that I'm not dealing with correctly.

So, I set the VNC server (win2k) to listen on 5961, and I set win2k's firewall to pass 5961 through to win2k. (Of course, it's also forwarding port 22; I've had ssh running for a long time on this system.)

Then on slackware, I run:

ssh -L 5962:localhost:5961 <win2k-ip>

...as directed by that page. I log in and all seems well as far as the SSH goes. Then, still following that page, I do this on slackware:

vncviewer localhost:5962

...but this gives me "VNC connection failed: Local loop-back connections are disabled." When I try just vncviewer localhost:62, it gives me
"VNC connection failed: Your connection has been rejected."


I tried this with 5961, then 5962, then both, open on slackware's firewall, to no avail.

I'm not quite following what's supposed to be happenning with the SSH tunnel, or how the firewalls work into that. Can anyone help me out?

Thanks,
Anthony
http://nodivisions.com/
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to