This is going to be a bit long, so please bear with
me...

I'm having a problem getting VNC to work via a remote
forwarded SSH tunnel from my computer at work to a
computer at home, and I'm hoping someone can give me
some direction. All machines involved are running the
latest VNC server and viewer. Here are the tests I've
tried so far.

1) Direct connect, Win2K server to Win2K server
This worked fine.

2) Connect through a remote forwarded SSH tunnel, all
machines on the same LAN. This also works.
There is a linux box (tux) running at work. After
setting its GatewayPorts to yes on that machine, and
setting the VNC server machine to allow connections
from localhost, I ran the following from the VNC
server machine...

ssh tux -R 5900:localhost:5900 -g -v

>From the VNC client machine, I connect to tux:0, and I
connect to the VNC server.

3) Connect through a remote forwarded SSH tunnel, ssh
server machine running on a linux box behind my
firewall.
Almost the same setup as above, but my ssh command
from the VNC server looks like this:

ssh homeIP -p 23 -R 5900:localhost:5900 -g -v

I do -p 23 because my firewall port forwards
connections to port 23 to port 22 on my home ssh
server.

When I connect to the SSHServer:0 with the VNC client
on my XP box on my home network, I get the popup to
enter my password, and then the connection dies. If I
log the session, I get this:

Connected to 192.168.1.200 port 5900
RFB server supports protocol version 3.3
Connected to RFB server, using protocol version 3.3
VNC authentication succeeded
Desktop name "dev_clcase01"
rdr::Exception: rdr::EndOfStream

It would seem that my tunnel is set up properly, as I
can connect long enough to enter my password. I can
also telnet to port 5900 on the SSHServer machine, and
a connection is established. I would assume that
things on the server side are configured properly, as
I can connect through a tunnel when all machines
involved are on the same LAN.

So... what gives? Anyone?

Thanks much if you made it this far :)

Clark

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to