I connected!

Logged into SSH gateway:

$ ssh -X [EMAIL PROTECTED]

Binded ports:

$ ssh -f -N -C -T -l rvanovermeiren -L5902:localhost:5901 10.3.1.194

Then vncviewer:

$ vncviewer [-shared] localhost:2

How do I unbind the ports? 

Does the binding persist until I do?

Now I have to try connecting remotely using Cygwin openssh on Windoz XP.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Van Overmeiren
Sent: Friday, August 11, 2006 12:46 PM
To: VNC-List@realvnc.com
Subject: RE: main: unable to connect to host: Connection timed out (110)

PS, when I tested telnet port 5901 from the SSH gateway to the
workstation, it also timed out. I can ping and SSH though. How do I open
up port 5901?

-----Original Message-----
From: Robert Van Overmeiren 
Sent: Friday, August 11, 2006 12:42 PM
To: 'VNC-List@realvnc.com'
Subject: RE: main: unable to connect to host: Connection timed out (110)

> status of any firewalls on 10.3.1.194

Its just a Fedora/Gnome workstation. I haven't setup any firewalls. How
would I check this? I've seen this in the logs, maybe there's an x
session authorization issue?

Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed.

> (connection times out) I assume this is after you have used SSH to
connect to the gateway machine?

Yes

> None of your examples use port forwarding, only a remote X tunnel from
SSH.

I can invoke VNCauth on other systems from the SSH gateway, and I was
told that the tunneling was all I needed. The hardware is different, and
they may be running an older Fedora, so I guess the systems are too
different to compare.

I've seen had an example of a connection command with ports for
forwarding but can't find it. What command would work for my situation?



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of William Hooper
Sent: Friday, August 11, 2006 11:10 AM
To: vnc-list@realvnc.com
Subject: RE: main: unable to connect to host: Connection timed out (110)

Please send replies to the VNC list.

Robert Van Overmeiren wrote:
> Well, as user 'rvanovermeiren', I start vncserver:
>
>
> $ vncserver (works OK)
>
>
> Then, I test viewer from localhost
>
>
> $ vncviewer :1 (works OK. I can get a textual or graphic desktop)

This tells you nothing of the status of any firewalls on 10.3.1.194,
though.

> I connect to the SSH gateway, and invoke viewer on an associates IP:
>
>
> $ ssh -X [EMAIL PROTECTED]
> $ vncviewer 10.3.1.78:1 (invokes the VNCauth box OK)
>
>
> I try to connect with vncviewer to my IP:
>
>
> $ vncviewer 10.3.1.194:1 (connection times out)

I assume this is after you have used SSH to connect to the gateway
machine?

>
> If I knew what log to view, I might find why its not working. I know
> port forwarding is working

None of your examples use port forwarding, only a remote X tunnel from
SSH.

> and I doubt the admins are blocking my specific
> IP.

Is there a firewall on your machine blocking connections, though.
Another
troubleshooting step would be to use telnet to verify you can connect to
the machine:

 $ telnet 10.3.1.194 5901

And see if you get a response.

-- 
William Hooper
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to