← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #667565]: Mac: NullPointerException when running via ssh

 

Question #667565 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667565

    Status: Needs information => Solved

Ilya Anshmidt confirmed that the question is solved:
OK, problem solved.

It was caused by me not using AWT_FORCE_HEADFUL env variable for running
java application via ssh on Mac.


So when I run sikuli script via ssh with the following command it works correctly:
ssh shareduser@192.168.1.224 'AWT_FORCE_HEADFUL=true java -jar /Applications/SikuliX.app/Contents/Java/sikulix.jar -r /Users/shareduser/<path-to-script>/click_button.sikuli'

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.