Citrix Automation: From our Windows OS machine Can we Automate few actions in a Remote Desktop having Ubuntu OS

Yes, I tried it…when I use OCR text- sometimes its performing action and sometimes its failing(when the position of the object is changed), Its inconsistent,
So I am using Image… Is Image fine to use?