Thanks guys - that solved it. I don't think that the VNC documentation explains that part well. If someone else thinks so too, then let's fix it. I will be glad to offer any kind of help in documenting that part.
-Rachan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luptak, Miroslav Sent: Friday, December 19, 2003 2:22 PM To: [EMAIL PROTECTED] Subject: RE: Using VNC with SSH Hi, Rachan. When using the Java VNC GUI, then you need to forward 2 ports for your setup: 5807 for applet download, and 5907 for VNC communication. You have 2 options on the XP: 1. use "ssh -L 5907:localhost:5907 servername" (note, it's really 5907, not 5807), then execute "vncviewer localhost:7". I recommend this. Or 2. use "ssh -L 5907:localhost:5907 -L 5807:localhost:5807 servername", then execute MSIE with URL http://localhost:5807 Best regards, Miro > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rachan Malhotra > Sent: Friday, December 19, 2003 22:48 PM > To: [EMAIL PROTECTED] > Subject: Using VNC with SSH > > > Hi all, > > I am a newbie to the world of Linux. For years I was an > L-phobe and I am surprised how quickly (my first interaction > with Linux was a couple of weeks ago) I have turned into an > L-addict. Now, I HAVE to play around with my Linux box for 4 > hrs everyday. Anyway, I am facing a weird problem which I > think should be really simple to resolve - I must be making a > silly error. I have read all documentation and searched the > mailing lists but am clueless. > > I am trying to use VNC with SSH. I start VNC server on a > Linux box at work using the following command: vncserver :7 > Then I initiate an SSH tunnel from my windows-XP laptop to > the Linux box using the following command: ssh -L > 5807:localhost:5807 servername Then, I open an IE window on > my laptop and type the following in the > URL: http://localhost:5807 <http://localhost:5807/> > It shows me the VNC authentication page. I give it the > password but then it shows an error: Network error: could not > connect to server: localhost:5907 > > Please help. > > Thanks, > Rachan > _______________________________________________ > 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 _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
