comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » setenv DISPLAY fix not working with X Widonws display problem...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
setenv DISPLAY fix not working with X Widonws display problem... [message #82511] Wed, 19 December 2012 13:30 Go to next message
cjarviskdr is currently offline  cjarviskdr
Messages: 5
Registered: December 2012
Junior Member
I am using Cygwin and attempt to run a basic plot function in IDL but get the error (which I have seen here is fairly common):
% PLOT: Unable to connect to X Windows display: :0.0
% PLOT: Unable to open X Windows display.
Is your DISPLAY environment variable set correctly?
% Execution halted at: $MAIN$

I have read that:
setenv display <your IP address>:0.0
^
should make it work, but for me it just produced a sytax error as shown above under the "i". What could be a solution?
Re: setenv DISPLAY fix not working with X Widonws display problem... [message #82598 is a reply to message #82511] Wed, 19 December 2012 16:11 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Wednesday, December 19, 2012 4:30:28 PM UTC-5, cjarv...@gmail.com wrote:

>
> I have read that:
>
> setenv display <your IP address>:0.0
>
> ^
>
> should make it work, but for me it just produced a sytax error as shown above under the "i". What could be a solution?

If it really is a syntax error then maybe you have the bash shell rather than the C-shell? In that case, I believe the equivalent command to setenv would be

export DISPLAY=<your IP address>:0.0

--Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: setenv DISPLAY fix not working with X Widonws display problem...
Next Topic: IDL 7.1, OS X 10.8.2 & XQuartz 2.7.4 problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:16:29 PDT 2025

Total time taken to generate the page: 0.10191 seconds