off screen image

  • Subject: off screen image
  • From: ncubukcu <ncubukcu@xxxxxxxxx>
  • Date: Wed, 02 Aug 2006 13:51:53 -0400
if I remotely connect to my visad server and run a test program that constructs something like following;
DisplayImplJ2D display = new DisplayImplJ2D("display1",300,300);

this is what I get when I run my code;

kCGErrorRangeCheck : Window Server communications from outside of session allowed for root and console user only
Exception in thread "main" java.lang.NoClassDefFoundError
       at visad.DisplayRenderer.setWaitFlag(
at visad.java2d.DisplayRendererJ2D.setWaitFlag(
       at visad.DisplayImpl.doAction(
       at visad.java2d.DisplayImplJ2D.doAction(
       at visad.util.ThreadPool$
       at visad.DisplayImpl.clearMaps(
       at visad.java2d.DisplayImplJ2D.clearMaps(
       at visad.DisplayImpl.<init>(
       at visad.java2d.DisplayImplJ2D.<init>(
       at visad.java2d.DisplayImplJ2D.<init>(
       at visad.java2d.DisplayImplJ2D.<init>(
       at CreateImage.main(
*I know why I get this exception.. it want's me to run it in headless mode or I have to set display to my local machine. What I don't understand is why the off screen constructor above needs a display. Any idea how I can go around this. I have done all my excercises on a local machine but now that I need to use remote machine for visad, all my test cases are failing...

To unsubscribe visad, visit:

  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: