You have a trouble when you got your localhost (your computer) has no route to XWindows public server (linux, unix base). Your computer only has route to one of computer in the network which has route to public server that you want.
Somebody that ever install Oracle via remote connection will find this problem.
Your local computer is “localhost”
Your server #1 is private IP “192.168.12.15″
Your server #2 is public IP “18.104.22.168X”
Localhost —– Server #1 ——- Server #2|______ XWindows Application _______|
|___________ No Route ______________|
How to get connection via SSH so you can remote your public server include the XWindows application ?
Here are the steps must be done :
SSH tunneling from 192.168.12.15 to public IP 22.214.171.124X
ssh firstname.lastname@example.org -p 2350
ssh -L 2211:127.0.0.1:2350 email@example.comX -p 2350
SSH tunneling from localhost to 192.168.12.15
ssh -L 2211:127.0.0.1:2211 firstname.lastname@example.org -p 2350
SSH to 126.96.36.199X via tunnel + forward X
ssh -X root@localhost -p 2211
For example on X environment :
You will get “xclock” program from remote 188.8.131.52X