ssh -L 5901:linux2:5901 linux2
the above line should have two differnet number for two ports??
something like 
ssh -L 5901:linux2:5902 linux2
Just wondering. 
-shashi


-----Original Message-----
From: Tianjie Gao [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 6:11 AM
To: [EMAIL PROTECTED]
Subject: vnc via ssh forwarding problem


hi, 
I try to use vncviewer from linux1 to access linux2 running vncserver 
through ssh forwarding. This is what I do:

linux2> vncserver
......

linux1> ssh -L 5901:linux2:5901 linux2
linux1> vncviewer localhost:1
......

then I am prompted for the vnc password, but after the authentication I 
only see a white window with a dot for the mouse on linux1. The following 
is the log message on linux2:

01/04/02 21:08:09 Got connection from client 127.0.0.1
01/04/02 21:08:09 Protocol version 3.3
01/04/02 21:08:14 Pixel format for client 127.0.0.1:
01/04/02 21:08:14   32 bpp, depth 24, little endian
01/04/02 21:08:14   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
01/04/02 21:08:14 Using raw encoding for client 127.0.0.1
01/04/02 21:08:31 rfbSendUpdateBuf: write: Broken pipe
01/04/02 21:08:31 Client 127.0.0.1 gone
01/04/02 21:08:31 Statistics:
01/04/02 21:08:31   framebuffer updates 1, rectangles 1, bytes 3145740
01/04/02 21:08:31     raw rectangles 1, bytes 3145740
01/04/02 21:08:31   raw bytes equivalent 3145740, compression ratio 1.000000

Did anyone experienced the same problem and have fixed it?

tianjie
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to