Exactly! I got it. Thanks a ton. I did tunnel in reverse connection. :)
One last question: while going through Tiger VNC source code, I came to know
that it has inbuilt Tunneling support. Researching more on this, from
http://fedoraproject.org/wiki/Features/TigerVNC, I got the information that
it requires both client and server Tiger VNC.
*tigerVNC extensions (both client and server are tigerVNC):*
- optional JPEG compression
- Automatic SSH tunneling on Unix
Currently, we have VNC server from Real VNC latest version but we are
planning to migrate to Tiger VNC server. Could you tell confirm that if we
have client and server Tiger VNC then we don't need to do explicit tunneling
using above method?
Thanks.
On Fri, Jan 22, 2010 at 4:10 PM, DRC <[email protected]>wrote:
> The SSh server is already running on the VNC server machine. You start
> the SSh client on the same machine that is running VNC viewer. PuTTY
> will accept the -R command line argument, or you can also configure that
> in PuTTY's GUI (but I forget the exact configuration page where it is.)
>
> On your client:
>
> 1) Start VNC viewer listening on port {P}
> 2) putty -R {P}:localhost:{P} {VNC server}
> 3) (on the server)
> vncconnect localhost:{P}
>
> dipti shah wrote:
> > Thanks DRC for providing details but I am confused in client and server
> > port forwarding concept.
> >
> > Currently, without tunneling VNC over SSH is working fine. I do below
> > procedure for that:
> >
> > 1. On my Windows machine: Open vncviewer in listening mode on port
> > say 24100
> > 2. Using Putty, connect to UNIX server and send the windows machine
> > name/IP and the port where vncviewer is listening to particular process
> > running UNIX server.
> > 3. This UNIX Server process then eventually invokes Xvnc which inturn
> > connect to the windows vncviewer using information received windows
> > machine name and port where vncviewer is listening.
> >
> > To support tunneling, I am not sure where to start the SSH
> > client/server. In my case, the vncviewer is an independent process
> > running in listening mode. Now how could Xvnc tunnel with that listening
> > vncviewer?
> >
> > Thanks,
> > Dipti
> >
> > On Fri, Jan 22, 2010 at 2:58 PM, DRC <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > I think the reverse connection uses port 5500, so you'd want to do
> >
> > ssh -R 5500:localhost:5500 {server}
> >
> > and then run
> >
> > vncconnect localhost
> >
> > on the server. This will cause problems if multiple users are trying
> to
> > do this on the same server. They'd each have to set up their VNC
> > viewers to listen on a different port.
> >
> > Using -R is the key, though. That tells the SSh server to create a
> > listener on port 5500 and redirect all of that traffic to port 5500
> on
> > the SSh client. -L does the opposite-- tells the SSh client to
> create a
> > listener on port {whatever} and redirect all of that traffic to port
> > {whatever} on the SSh server.
> >
> > dipti shah wrote:
> > > Hi, I got to know how to tunnel VNC over SSH between LINUX
> > machines and
> > > Windows to LINUX machine from
> > >
> > http://www.science.smith.edu/~ejensen/vncssh.html<http://www.science.smith.edu/%7Eejensen/vncssh.html>
> > <http://www.science.smith.edu/%7Eejensen/vncssh.html>. This is
> > possible only
> > > if I do forward connection. Could anyone suggest me how to tunnel
> the
> > > VNC over SSH in reverse connection?
> > >
> > > Thanks,
> > > Dipti
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Throughout its 18-year history, RSA Conference consistently
> > attracts the
> > > world's best and brightest in the field, creating opportunities
> > for Conference
> > > attendees to learn about information security's most important
> > issues through
> > > interactions with peers, luminaries and emerging and established
> > companies.
> > > http://p.sf.net/sfu/rsaconf-dev2dev
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Tigervnc-users mailing list
> > > [email protected]
> > <mailto:[email protected]>
> > > https://lists.sourceforge.net/lists/listinfo/tigervnc-users
> >
> >
>
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Tigervnc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-users