I am encountering the following issues, I have a SUT who is running a shell script that calls a client A's eggplant through a ssh connection and fires it off. Client A will run eggplant script on the SUT (which is going back to the SUT itself).
I am getting the following error when I am launching the shell script from SUT thru SSH.
./runscript /root/devtools/xxxxx.suite/Scripts/xxxx.script -host xxx.xxx.xxx.xxx -port 5901 -password password -GlobalResultsFolder /root/devtools/xxxxx.suite/Results
/usr/GNUstep/Local/Applications/Eggplant.app/Eggplant: Uncaught exception WindowServerCommunication, reason: Unable to connect to X Server `’
However, if I run the same runscript command on Client A directly. I do not have that issue.
Does anyone know what did I do wrong?