Results 1 to 2 of 2
Hi friends, lets see if i can explain what i need. My linux server (serverx.company.com - redhat CentOS release 5.4) is sitting in a US based colo. There is no ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-29-2009 #1
- Join Date
- Dec 2009
vncserver config and ssh
lets see if i can explain what i need.
My linux server (serverx.company.com - redhat CentOS release 5.4) is sitting in a US based colo. There is no display attached to it.
We connect to this machine from India using ssh.
All good till now.
Now, we have written an automation suit that needs to run on this server - serverx. This automation suit has two part - command line and GUI. for GUI, it needs to invoke the browser (we are using selenium).
This automation will be invoked as part of build. hence there will not be any display attached to it when it executes.
How do I do it.
I know that I need to run the vncserver and do something. We really need not have physical display attached.
- 12-30-2009 #2
Something like this??
VNC with SSH tunnel
From the workstation open a terminal and write:
ssh -L 59XX:localhost:59XX vnc-host-ip ex.: ssh -L 5904:localhost:5904 126.96.36.199
vncviewer localhost :XX ex.: vncviewer localhost :04
Of course you then need both SSH and vncserver installed on the remote machine