From: Sharon L. <lu...@us...> - 2017-07-11 18:23:35
|
Hi, I responded to this same question that you posted via the STAF Help Discussion forum at https://sourceforge.net/p/staf/discussion/104046/thread/ecb6b594/ -------------------------------------------------------------- Sharon Lucas IBM Austin, lu...@us... (512) 286-7313 or Tieline 363-7313 From: Shambhu Sharma <sha...@gm...> To: sta...@li... Date: 07/11/2017 01:17 AM Subject: [staf-users] Not able to run GUI app on remote STAF host Hi, I just installed STAF on two Ubuntu 16.04 machines and able to run command using "staf <remotehost> <service> <request>". But when I try to run gui application on remote host, it is throwing DISPLAY error. I am accessing both Linux machines through Putty (from windows client) with X11 forwarding enabled and also I have installed xming. Note that, if I run: $ staf local process start shell command "xclock" wait stderrtostdout returnstdout , it is working fine. But if i use: $ staf remotehost process start shell command "xclock" wait stderrtostdout returnstdout I am getting below error: Response --------------------- { Return Code: 1 Key : <None> Files : [ { Return Code: 0 Data : Error: Can't open display: localhost:10.0 } ] } Interestingly, If I have putty session running for remotehost, then clock gui starts fine. So it seems that through STAF, X11 forwarding is not getting enabled. Please let me know how to enable it in STAF configuration. Regards, Shambhu. -- If linux doesn't have a solution, then u have a wrong problem. Shambhu Kumar Sharma 91-98807 52962 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ staf-users mailing list sta...@li... https://lists.sourceforge.net/lists/listinfo/staf-users |