Check to make sure that vnc is running on a specific port one winnt. By
default it is set to first available wich is 0 not 1 like linux.
I just setup this same scenerio last week.
Here is how I set it up:
lcli -> fw -> ... -> mfw -> w2k
lcli is a linux machine using 'ssh -lroot -L40000:w2k:5901
mfw.blah.blah.com'
also run 'vncviewer -encodings "copyrect hextile" localhost:40000'
This also works with win2k as a client using terraterm and ttssh.
fw is a linux firewall/gateway that is very restrictive
mfw is a linux masquerading firewall with sshd running on it
w2k is a windows 2000 machine with vnc running on port 5901
(note: w2k is lookedup by mfw not fw, so it uses the 10.0.0.1
address)
----- Original Message -----
From: "Morris, Steve" <smorris@cereva.com>
To: <vnc-list@uk.research.att.com>
Sent: Friday, August 25, 2000 13:16
Subject: Help: server disconnect means what?
> I've got vnc working in various places and am finally trying to use ssh. I
> think the ssh redirection is working. At least I don't get any errors when
I
> set it up. But when I launch ./vncclient localhost:2 to attach I get a
> message that says "disconnected by server" before it asks for a password.
I
> have no idea how to debug this because I don't know what the mesage means.
>
> I can access the server from within its own network (not using ssh.)
>
> I can use the same client to access other servers within its own network.
>
> I can use ssh to connect directly (i.e. a shell connection) so I don't
think
> it is an ssh client/server compatibility problem.
>
> I just can't get this client (linux) to access this server (WinNT) throgh
a
> firewall via ssh.
>
> As a test I tried to connect to a non existant server to make sure the
> messages were different. Sure enough it said "can't connect to server"
> instead of "disconnected by server."
>
> So why would the server disconnect before asking for a password even
though
> it accepts connections directly? Or why would the client think it had.
>
> Hmm... Maybe I should take vnc out of the loop and redirect the telnet
port
> or something instead, to give me an independent test of port redirection
via
> ssh.
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to majordomo@uk.research.att.com
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
-----------------------------------------
TridiaVNC - http://www.tridiavnc.com/
This archive was generated by hypermail 2b29 : Tue Aug 29 2000 - 12:34:36 EDT