MathGroup Archive 2005

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

Search the Archive

Re: GUI-Kit Xserver Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62249] Re: GUI-Kit Xserver Problem
  • From: "Steven T. Hatton" <hattons at globalsymmetry.com>
  • Date: Thu, 17 Nov 2005 04:15:48 -0500 (EST)
  • References: <dlen4f$8c2$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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 \

Try `xhost+ LinuxServerName'.  That's really a shot in the dark.  

What I typically do is ssh -X user@hostname.  That way you don't have to set
the $DISPLAY on the remote host.  It takes a bit more overhead, but since
it's symmetric encryption, it's usually not very significant.  But I have
never tried what you are doing, nor am I set up to reproduce it here.  I
run Mathematica (for Linux) on the only system I have that dual boots, and
could handle the load it would require.

Can you run other java apps from the same login?  It looks like the GUI-Kit
Java process is not being passed the environment that Mathematica is
running in.  If that's the case, I don't believe my suggestion of using SSH
will work.  Nor will the xhost+.
-- 
The Mathematica Wiki: http://www.mathematica-users.org/
Math for Comp Sci http://www.ifi.unizh.ch/math/bmwcs/master.html
Math for the WWW: http://www.w3.org/Math/


  • Prev by Date: Autosave package problem - Mathematic 5.1 on OS X
  • Next by Date: Re: mathematica2mono
  • Previous by thread: Re: GUI-Kit Xserver Problem
  • Next by thread: Anyone familiar with Clearspeed?