what i use is:

ssh -C -L 5801:remote_ip:5901 remote_ip
(then i answer all password prompts correctly ;-) for remote host and are left at a 
$shell prompt

then in DIFFERENT xterm window:

vncviewer   -shared -encodings 'tight copyrect' localhost:5801

In the ssh window i then get the message:

 fwd connect from localhost to local port sshdfwd-5801

--

On Mon, Dec 18, 2000 at 01:22:34PM -0500, Serge Dutremble wrote:
> I have been attempting to use VNC through SSH for a few weeks with no results.
> 
> Some responses from the list have suggested I should redirect both the 58XX and
> 59XX ports in order to get it to work but I get the same result.  The
> instructions in the VNC documentation do not suggest it may be necessary at all
> anyway.  I think I have to redirect port 59XX is I use the vnc viewer and port
> 58XX if I want to use the http java viewer.  I am not attemting to use both at
> this time but would just like to get at least one going.
> 
> I try the following on a Linux RH 7.0 workstation:
> 
> ssh -L 5910:remote_ip:5901 remote_ip
> I get validated by remote_ip (a Mandrake 6.2 workstation)
> 
> Then I try on another terminal window:
> vncviewer localhost:10
> 
> I get a "vncviewer: VNC server closed connection" message locally while I get a
> "channel_open_failure: 2: reason 1: bla bla" message on remote_ip.
> 
> The command vncviewer remote_ip:1 works fine (but naturrally not encrypted).
> 
> Doesn't make much sense to me.
> 
> Can anyone help?
> 
> Serge.
> ---------------------------------------------------------------------
> 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