How to Control PC-Y from PC-X via Linux Server with TightVNC

Fran_3 via VNC-Tight-list <[email protected]> Sat, 27 Jun 2020 00:08:57 +0000 (UTC)
Newsgroups gmane.network.tight-vnc.general
Message-ID <[email protected]>
I posted earlier in another thread "How to tell if TightVNC is running on a remote Linux Server"Answer: it is not.
Here is the larger issue and I would really appreciate help in getting this to work.

Goal: I’m trying to use TightVNC to...

-- connect PC-X at site-X 

-- to PC-Y at site-Y 

-- through a Linux Server at Site-Y

(This works now if we use MobiXterm but MobiXterm was setup buy another party that is no longer availableI'm trying to set this up without MobiXterm as I like to know what is going on under the hood... thus this post.)

Both PC’s are running Win 10 Pro

Both PC’s have TightVNC server & viewer installed


aaa.aa.aa.aaa = Linux Server Public IP

bbb.bb.bb.bbb = PC-Y Local IP

ccccc = port number


PC-X has a batch file like this


.\putty.exe  [email protected]  -P ccccc -i .\user.ppk ^

 -L 13014:bbb.bb.bb.bbb:5900 ^


Question 1:

port number ccccc in the example is a port we are opening on the Linux Server so we can get to PC-Y... correct?


Question 2:

In the batch file we are trying to forward local port 13014 on PC-X to port 5900 on PC-Y via port ccccc on the linux server... correct?


Question 3:

So we can connect TightVNC viewer on  PC-X...

to TightVNC server on PC-Y...

so we can control PC-Y from PC-X... correct?


Question 4:

Then why isn’t VNC connecting?


When I run the batch file on PC-X it connects to the Linux Server and after I enter my password I can execute commands on the Linux Server from PC-X... so we are connected.


In attempt to see if I can reach port 13014 on PC-Y I’ve run telnet localhost 13014 on PC-X...

but get this response...

RFB 003.008.

and I don’t know what this means... did we get to port 5900 on PC-Y or not?


How can I get VNC viewer on PC-X to connect to VNC server on PC-Y?


Thanks for any help.

___________________________________________________________
TightVNC mailing list, [email protected]
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list