server is started with:
vncserver :5001 -localhost      (will give port 5600+5001=10901)

1. (works)
if i use linux or other UNIX I do:
ssh -L 10901:<server>:10901 <server>
        new consol:
        vncviewer localhost:10901
This works like a dream...

2.
I use win2000:
start the secure shell with port forwarding.
start my vncviewer in windows.
THIS DOESN'T WORK!!!

I go to the server again and stop the vncserver -kill :5001 and start it
with:
vncserver :5001
without the localhost parameter.

I go to the client again and:

2b.
I use win2000:
start the secure shell with port forwarding.
start my vncviewer in windows.
IT WORKS!!!

I want the localhost parameter, else it's possible to connect to the
vncserver without using ssh.

Regards,
Jannik





-----Original Message-----
From: James ''Wez'' Weatherall [mailto:[EMAIL PROTECTED]]
Sent: 2. maj 2001 13:46
To: [EMAIL PROTECTED]
Subject: Re: vnc on Windows2K


> vncviewer though a ssh tunnel from Windows2K doesn't work when the
vncserver
> is started with the -localhost option (The vncserver is running on a linux
> box).

Is the SSH server the same machine that the vncserver is running on?  What
port-forwarding commands to you use exactly?

Remember that for -localhost to work, ALL incoming connections must arrive
over the local-loopback interface - you must use something like

    ssh -L5901:localhost:5901 <my_server>

and NOT

    ssh -L5901:<my_server>:5901 <my_server>

Cheers,

James "Wez" Weatherall
--
          "The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK                              - Tel : 343000
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to