MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

GUI-Kit Xserver Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62215] GUI-Kit Xserver Problem
  • From: Christian Zahler <christian.zahler at pse.de>
  • Date: Wed, 16 Nov 2005 02:28:19 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello everyone,

I've Mathematica installed on a linux box and use it via a Xserver on
my Windows desktop.
Now I'm trying to use this GUIKit and the examples that come with it.
I've set the DISPLAY variable correctly
export DISPLAY=192.168.0.xxx:0.0
The Mathematica windows pop up on my windows desktop flawlessly.
But when I try to run one of those GUIKit examples, I get the following
error message

Java::excptn: A Java exception occurred: java.lang.InternalError: Can't \
connect to X11 window server using ':0.0' as the value of the DISPLAY \
variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at 
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(\
GraphicsEnvironment.java:62)
    at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at java.awt.Toolkit$2.run(Toolkit.java:748)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
    at 
com.sun.java.swing.plaf.gtk.GTKLookAndFeel$1.run(GTKLookAndFeel.java:264)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStylesFromThemeFiles(\
GTKLookAndFeel.java:231)
    at 
com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:\
207)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:393)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
    at com.wolfram.guikit.GUIKitDriver.prepareInitialLookAndFeel(Unknown 
Source)
    at com.wolfram.guikit.GUIKitDriver.createEnvironment(Unknown Source)
    at com.wolfram.guikit.GUIKitDriver.runModalFile(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:\
39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(\
DelegatingMethodAccessorImpl.java:25).

Any idea?
Thanks for helping
Christian



  • Prev by Date: Re: FullSimplify Hang?
  • Next by Date: Re: Magnetic Pendulum
  • Previous by thread: Re: mathematica2mono
  • Next by thread: Re: GUI-Kit Xserver Problem