← Back to team overview

sikuli-driver team mailing list archive

[Question #263159]: Using headless linux host to run jruby script on VNC screen

 

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

Provided that the SikuliX setup jar requires a screen, what is the best way to setup a headless client that will VNC into other machines?
I plan to use the JRuby gem from GitHub which works fine on a windows machine that has the SikuliX IDE installed with the sikulixapi.jar. I copied the jar and set the sikulixapi_jar environment variable and get the following error:

[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (amd64): /root/libs
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (amd64): /root/libs
NameError: missing class or uppercase package name (`org.sikuli.script.Screen'), caused by (NameError) cannot initialize Java class org.sikuli.script.Screen


get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
method_missing at file:/root/jruby/lib/jruby.jar!/jruby/java/java_package_module_template.rb:14
(root) at /root/jruby/lib/ruby/gems/shared/gems/sikulix-1.1.0.3/lib/sikulix/sikulix.:14
(root) at /root/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
require at org/jruby/RubyKernel.java:954
require at /root/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
(root) at /root/jruby/lib/ruby/gems/shared/gems/sikulix-1.1.0.3/lib/sikulix.rb:4
require at org/jruby/RubyKernel.java:954
(root) at /root/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
__script__ at sikuli.rb:1



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