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 ...
- 12-29-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 1
vncserver config and ssh
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 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.
thanks
Ajay
- 12-30-2009 #2
Something like this??
VNC with SSH tunnel
From the workstation open a terminal and write:
In the same terminal also invoke the command to start the vncserver on the server.Code:ssh -L 59XX:localhost:59XX vnc-host-ip ex.: ssh -L 5904:localhost:5904 80.81.82.83
And again from your workstation open another terminal and write:Code:vnc4server
I don't know if it was something like that you looked for but this is how I connect to remote machines for use of their graphic environment.Code:vncviewer localhost :XX ex.: vncviewer localhost :04
Of course you then need both SSH and vncserver installed on the remote machine
--
O


Reply With Quote
