Hi Scott,

finally I solved the problem. I was logged in (X11 Session) as a normal user and
did su to root in a shell. The error occurred as I tried to invoke TcpTunnelGui
under root. As I did su back to a normal user I found out that there was a
environment variable 'XSESSION_IS_UP=yes'. That variable was not set under root.
After I logged out and in under X as root this variable was set and everything
worked fine.

Many thanks for your reply!


Daniel.

On Thu, 7 Aug 2003, Scott Nichol wrote:

> TcpTunnelGui uses simple AWT stuff.  Are you able to run other AWT apps?
>
> Scott Nichol
>
> Do not send e-mail directly to this e-mail address,
> because it is filtered to accept only mail from
> specific mail lists.
> ----- Original Message -----
> From: "Don Vito" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 07, 2003 5:00 PM
> Subject: error starting tcptunnelgui
>
>
> > Hello,
> >
> > although i know this is somewhat out off topic:
> > I get the following error message when i (try) to start TcpTunnelGUI:
> > "exception in thread "main" java.lang.InternalError: Can't connect to X11 server
> > using ':0.0' as the value of the DISPLAY variable".
> >
> > I'm running SuSE8.1 Linux, SOAP-2.3.1 and j2sdk1.4.2. How can i avoid this
> > behavior?
> >
> > Thanks, Daniel.
> >
> > -----------------------------------------------------
> > Don Vito a.k.a Daniel Schmidt-Oehm
> > mailto: [EMAIL PROTECTED]
> > -----------------------------------------------------
> >
> >
>


-----------------------------------------------------
Don Vito a.k.a Daniel Schmidt-Oehm
mailto: [EMAIL PROTECTED]
-----------------------------------------------------

Reply via email to