|
[Date Index]
[Thread Index]
[Author Index]
Re: GUI-Kit Xserver Problem
- To: mathgroup at smc.vnet.net
- Subject: [mg62250] Re: [mg62215] GUI-Kit Xserver Problem
- From: "Yasvir A. Tesiram" <tesiramy at omrf.ouhsc.edu>
- Date: Thu, 17 Nov 2005 04:15:53 -0500 (EST)
- References: <200511160728.CAA08447@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
See
http://java.sun.com/j2se/1.5.0/docs/guide/awt/1.5/xawt.html
Yas
On Wed, 16 Nov 2005, Christian Zahler wrote:
> 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:
NMinimize hanging after many iterations
Next by Date:
Re: Timing?
Previous by thread:
GUI-Kit Xserver Problem
Next by thread:
Re: GUI-Kit Xserver Problem
|