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
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to