I have a setup of three machines.
A runs a vncserver and an ssh server,
B runs a vncviewer,
C runs an ssh client.
The vncviewer on
B connects to the vnc server on
The ssh client on
C connects to the ssh server on
Is it possible that from the ssh session in
C I spawn a process ( say xclock) on
A so that the process shows up in the vncviewer on
B's screen. Basically I am looking for the value to set DISPLAY variable to so that this can be achieved.
PS : Please reword the title of my question if you find that it doesn't appropriately describe my question