New question #245565 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245565

Hi,

I downloaded the Maven repository (I hope) and had a go at getting RemoteSikuli 
to work on a Virtual Machine (running Xubuntu).
The host is Windows.

I got the server to run on the VM but when I try and click on an image (taken 
on the VM), it clicks an image on the host machine.
Obviously, I haven't got something right!

Here is the Java on the host:-
        public static void main(String[] args) throws InterruptedException {
                ScreenRemote s = new ScreenRemote(ipaddr, port);
                try{
                        Thread.sleep(10000);
                        
s.click("C:/Users/xxxxx/workspace/Sikuli/TryRemote/imgs/Firefox_BackButtonLinux.png",
 0);
                }
                catch(FindFailed e){
                    e.printStackTrace();
                }
        }

and the console output from Eclipse:-

Mar 15, 2014 10:31:09 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[error] ImagePath: setBundlePath: Settings not changed: invalid BundlePath: null
[error] ResourceLoader: check: The jar in use was not built with setup!
We might be running from local Maven repository?
C:/Users/xxxxxx/workspace/Sikuli/SikuliX-Basics/target/classes/
[log] CLICK on L(19,117)@S(0)[0,0 1366x768]

and the output from the VM server:-

[info] ScreenRemoteServer: now waiting on port: 50000 at 127.0.1.1
[info] ScreenRemoteServer: now handling client: 
Socket[addr=/192.168.1.2,port=51534,localport=50000]
[info] ScreenRemoteServer: processing: SYSTEM
[info] ScreenRemoteServer: returned: LINUX 1
[info] ScreenRemoteServer: processing: BOUNDS 0
[info] ScreenRemoteServer: returned: 
java.awt.Rectangle[x=0,y=0,width=1024,height=768]
[info] ScreenRemoteServer: processing: CAPTURE 0 0 1024 768
[info] ScreenRemoteServer: Capture: 
java.awt.Rectangle[x=0,y=0,width=1024,height=768]
[info] ScreenRemoteServer: returned: Image(1024x768)
[error] ScreenRemoteServer: Exception while processing
No line found
[info] ScreenRemoteServer: stop client handling requested

I realise that getting remoteSikuli isn't a top priority for you at the moment 
but I'd appreciate any input you might have.

Thanks,
Mark



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to