Thanks all,<br><br>It works very well now in open SUSE linux.<br><br>-A <br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 9:05 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ahmad,<br>
<br>
Generally, I recommend *not* setting DISPLAY at all, as your system should set it for you. Have you tried this?<br>
<br>
If this doesn't work, then exactly how are you logging into the machine where you are running "ng4ex" from?<br>
<br>
For example, if you are logging in with "ssh machinename", then try "ssh -Y machinname" instead. This should tell the remote machine that you want to run X11 applications on it, and have them display back to the machine you are logging in from.<br>
<br>
It is not critical that you get this to work. You can always edit your NCL programs to send the output to a PostScript, PDF, or PNG file, instead of an X11 window.<br>
<br>
However, I find X11 windows very convenient when I'm debugging graphics in NCL.<br>
<br>
--Mary<br>
<div><div class="h5"><br>
On Jun 5, 2013, at 11:54 PM, Ahmad Farsyud wrote:<br>
<br>
> Thanks, but still does not work,<br>
><br>
> Before I set these:<br>
><br>
> setenv DISPLAY <a href="http://111.12.15.17:0" target="_blank">111.12.15.17:0</a><br>
> xhost 111.12.14.16<br>
> everything just fine, I can see a pair of eyes by calling<br>
> xeyes,<br>
><br>
> but now, i cant see it anymore. and got these error message:<br>
> warning:GKS:GOPWK: --X driver error: DISPLAY environment variable not set<br>
> fatal:Workstation with PID#8 is not open<br>
> fatal:Unable to open Workstation-Can't Create<br>
> fatal:Unable to access object with id:-4<br>
> fatal:_NhlCreate:Invalid Parent id #-4<br>
> fatal:NhlGetValues:PID #-4 is invalid<br>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 11832 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
><br>
> fatal:["Execute.c":8126]:Execute: Error occurred at or near line 12<br>
><br>
> Thanks for any help.<br>
> --A<br>
><br>
><br>
><br>
> On Thu, Jun 6, 2013 at 1:59 AM, bg <<a href="mailto:bg@suse.de">bg@suse.de</a>> wrote:<br>
> On Wed, 5 Jun 2013 16:57:59 +0200<br>
> Ahmad Farsyud <<a href="mailto:a.farsyud@gmail.com">a.farsyud@gmail.com</a>> wrote:<br>
><br>
> > Hallo,<br>
> > I have already installed NCL in my machine open suse Linux.<br>
> > I got this error when I tried to run a test script:<br>
> ><br>
> > *ng4ex gsun01n*<br>
> ><br>
> ><br>
> > *warning:GKS:GOPWK: --X driver error: DISPLAY environment variable<br>
><br>
> That is probably the problem. You do not have access to your own X<br>
> Server. Maybe you are just using ssh without X11 forwarding?<br>
><br>
> Berthold<br>
><br>
> --<br>
> --<br>
> ----------------------------------------------------------------------<br>
> Berthold Gunreben Build Service Team<br>
> <a href="http://www.suse.de/" target="_blank">http://www.suse.de/</a> Maxfeldstr. 5<br>
> SUSE LINUX Products GmbH D-90409 Nuernberg, Germany<br>
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer<br>
> HRB 16746 (AG Nürnberg)<br>
><br>
</div></div>> _______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
</blockquote></div><br>