Re: [OT] VNC tunnels

From: Q (qdola..mail.com)
Date: Thu May 28 2009 - 10:35:18 EDT

  • Next message: Lars Sonchocky-Helldorf: "WOLips bug: An internal error occurred during: "Building workspace". java.lang.StackOverflowError"

    If it's a limitation of the screen sharing client you could try adding
    some additional addresses to your loopback interface (eg. 127.0.0.2,
    127.0.0.3, etc.) and use a different address for each remote host.

    On 28/05/2009, at 11:19 PM, Kieran Kelleher wrote:

    > Sorry for Off Topic, but this is the smartest bunch of people I
    > know ;-)
    >
    > I am creating a few scripts for easy VNC admin of remote servers
    >
    > For any remote server, I create an ssh tunnel by doing sth like this:
    > ssh -2 use..emotehost -p ${SSH_PORT} -o ExitOnForwardFailure=yes -o
    > HostKeyAlias=${HOST_KEY_ALIAS} -o ServerAliveInterval=0 -o
    > CheckHostIP=no -L ${LOCAL_PORT}:127.0.0.1:5900 -f -N
    >
    > Then I open the VNC screen in the built-in Screen Sharing by doing
    > this:
    > open vnc://127.0.0.1:${LOCAL_PORT}
    >
    >
    > My problem is as follows:
    >
    > - If I create SSH tunnels to multiple remote hosts, only the first
    > one is opened by Screen Sharing. any subsequent calls to "open vnc://127.0.0.1:other_port
    > " result in Screen Sharing just showing the first VNC window. I am
    > thinking that Screen Sharing just will not make multiple VNC
    > connections to the same host (127.0.0.1) even though the ports for
    > each separate tunnel are different.
    >
    > - I want to open multiple VNC windows at the same time all connected
    > to local forwarded ports.
    >
    > What I have tried:
    > - putting multiple entries in /etc/hosts pointing to 127.0.0.1, but
    > that does not "fool" Screen Sharing into opening more than one VNC
    > screen to 127.0.0.1

    -- 
    Seeya...Q
    

    Quinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10) Ph: +61 419 729 806



    This archive was generated by hypermail 2.0.0 : Thu May 28 2009 - 10:36:52 EDT