<div class="gmail_extra">Albert -- </div><div class="gmail_extra"><br></div><div class="gmail_extra">Did you try running the command line shell with the -nogui and -runwf arguments? Something like:</div><div class="gmail_extra">
<br></div><div class="gmail_extra">kepler.sh -nogui -runkar /home/mbj/myworkflow.kar</div><div class="gmail_extra"><br></div><div class="gmail_extra">The location of kepler.sh will vary by platform, but if you get it on your path, then you should be good to go.  More details are here:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line">https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line</a></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Matt<br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 10:27 AM, Albert Vilà Picas <span dir="ltr"><<a href="mailto:albertvilapicas@gmail.com" target="_blank">albertvilapicas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>We're trying to execute Kepler from command line on a Server without -X fordwarding.</div>
<div>Running kar workflows without display actors we have a ptolemy.kernel.util.IllegalActionException:</div>
<div><br></div><div><div>     [null] Because:</div><div>     [null] Could not initialize class sun.awt.X11GraphicsEnvironment</div><div>     [null] <span style="white-space:pre-wrap">  </span>at ptolemy.actor.Manager.execute(Manager.java:485)</div>

<div>     [null] <span style="white-space:pre-wrap">   </span>at ptolemy.actor.Manager.run(Manager.java:1159)</div><div>     [null] <span style="white-space:pre-wrap">   </span>at ptolemy.actor.Manager$PtolemyRunThread.run(Manager.java:1689)</div>

<div>     [null] Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment</div></div><div><br></div><div>1. Then, there is a special Kepler for a Server-side?</div><div>2. Can we disable the ptolemy java gui without JAVAFLAGS or the -Djava.awt.headless=true for headless gui exec?</div>

<div>3. Maybe only redirecting the X11 DISPLAY to a null or fake xhost we can solve it?</div><div><br></div><div>Thanks again,</div><div>--albert</div>
<br>_______________________________________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
<br></blockquote></div><br></div>