On Wed, Apr 25, 2001 at 03:06:16PM +0800, Chao Liu wrote:
> Is the asimov is your computer name in the net. But after I use export
>DISPLAY=mycomputername:0.0
> error:
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> ......
Are you running an X server? Are you running the Java program on the
same computer? If not, you may need to open up access to the X display:
you can grant anyone access to your display by running "xhost +" on the
machine running X.
Nathan
>
> ----- Original Message -----
> From: "Joi Ellis" <[EMAIL PROTECTED]>
> To: "Chao Liu" <[EMAIL PROTECTED]>
> Cc: "java-linux" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 25, 2001 12:47 PM
> Subject: Re: X11 window error using swing package?
>
>
> > On Wed, 25 Apr 2001, Chao Liu wrote:
> >
> > > Hello,
> > > I used javax.swing.tree and other package to show a simple tree. The program is
>ok in windows,but meet error in linux.
> > > the error information is listed in the following:
> > > Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
>server usi
> > > ng ':0.0' as the value of the DISPLAY variable.
> > >
> > Specify the DISPLAY variable with the HOST name. IE for host asimov,
> >
> > export DISPLAY=asimov:0.0
> >
> >
> > --
> > Joi Ellis Software Engineer
> > Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
> >
> > No matter what we think of Linux versus FreeBSD, etc., the one thing I
> > really like about Linux is that it has Microsoft worried. Anything
> > that kicks a monopoly in the pants has got to be good for something.
> > - Chris Johnson
> >
> PԔ
>zf#j)ު笷ڽە$v'+aj˛-˛mN.nW
> idjnV0+
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]