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

Home » Public Forums » archive » Re: Problem using IDL/ENVI in X windows
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
Re: Problem using IDL/ENVI in X windows [message #54586] Fri, 22 June 2007 14:32
kim20026 is currently offline  kim20026
Messages: 54
Registered: November 2006
Member
On Jun 22, 11:46 pm, kBob <KRD...@gmail.com> wrote:
>> From my experience when Cygwin/X starts misbehaving, the IT department
>
> is playing around with IP address on the UNIX boxes.
> When I see "connection refuse by server" either the "xhost" is not set
> correctly. "xhost +" gives access to everyone or "xhost UNIXbox"
> allows connection to UNIXbox, only.
>
> I use Cygwin/X often, but I find XMing is much better. Especially,
> with the latest release of Xming and PuTTY, as they work together.
> PuTTY is good at notifying you when the IP address gets changed.
>
> Kelly Dean
> Fort Collins, CO
>
> On Jun 21, 8:13 pm, DirtyHarry <kim20...@gmail.com> wrote:
>
>
>
>> Goodday, Everyone! I have a problem using IDL/ENVI in my server
>> logging in my desttop through X windows. There is no problem in IDL.
>> However, using ENVI... problem exists... The error message was as
>> follows.
>
>> IDL> envi
>> % Restored file: ENVI.
>> % Loaded DLM: TIFF.
>> Xlib: connection to ":0.0" refused by server
>> Xlib: No protocol specified
>
>> % DEVICE: Unable to connect to X Windows display: :0.0
>> % DEVICE: Unable to open X Windows display.
>> Is your DISPLAY environment variable set correctly?
>> % Execution halted at: ENVI_SPLASH
>> % ENVI
>> % $MAIN$
>
>> I thought something was wrong in my X windows. I reinstalled cygwin
>> and added the X11 packages. Now X windows is working properly, but
>> still the problem occurs with same error messages..
>
>> Is there anyone using cygwin? If someone experienced similar problems,
>> please give me any suggestions. Thank you always...
>
>> Harry- Hide quoted text -
>
> - Show quoted text -

Thank you for your suggestions... I solved the problem...
Re: Problem using IDL/ENVI in X windows [message #54588 is a reply to message #54586] Fri, 22 June 2007 07:46 Go to previous message
KRDean is currently offline  KRDean
Messages: 69
Registered: July 2006
Member
> From my experience when Cygwin/X starts misbehaving, the IT department
is playing around with IP address on the UNIX boxes.
When I see "connection refuse by server" either the "xhost" is not set
correctly. "xhost +" gives access to everyone or "xhost UNIXbox"
allows connection to UNIXbox, only.

I use Cygwin/X often, but I find XMing is much better. Especially,
with the latest release of Xming and PuTTY, as they work together.
PuTTY is good at notifying you when the IP address gets changed.

Kelly Dean
Fort Collins, CO

On Jun 21, 8:13 pm, DirtyHarry <kim20...@gmail.com> wrote:
> Goodday, Everyone! I have a problem using IDL/ENVI in my server
> logging in my desttop through X windows. There is no problem in IDL.
> However, using ENVI... problem exists... The error message was as
> follows.
>
> IDL> envi
> % Restored file: ENVI.
> % Loaded DLM: TIFF.
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> % DEVICE: Unable to connect to X Windows display: :0.0
> % DEVICE: Unable to open X Windows display.
> Is your DISPLAY environment variable set correctly?
> % Execution halted at: ENVI_SPLASH
> % ENVI
> % $MAIN$
>
> I thought something was wrong in my X windows. I reinstalled cygwin
> and added the X11 packages. Now X windows is working properly, but
> still the problem occurs with same error messages..
>
> Is there anyone using cygwin? If someone experienced similar problems,
> please give me any suggestions. Thank you always...
>
> Harry
Re: Problem using IDL/ENVI in X windows [message #54595 is a reply to message #54588] Thu, 21 June 2007 23:39 Go to previous message
wita is currently offline  wita
Messages: 43
Registered: January 2005
Member
It seems like you didn't set your DISPLAY environment variable, so X
tries to open a window on the local machine (your server) while it
should forward the display to the remote machine (your desktop running
Cygwin).

The simple solution would be:
for tcsh shell:
setenv DISPLAY <your desktop IP or hostname>:0.0
for bash shell
export DISPLAY=<your desktop IP or hostname>:0.0

and don't forget to allow other hosts to connect to the Xserver on
your desktop, this can be done using:
xhost + (which allows anyone to connect btw)

Although this procedure works I find it not very comfortable. A way
better solution is to install FreeNX on your server and to connect to
it using a NX client which you can download from www.nomachine.com.
This will export your whole X screen to the windows PC.

best regards,

Allard
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How To Display Transparent PNG Image
Next Topic: keeping IDL !quiet

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

Current Time: Fri Oct 10 13:37:30 PDT 2025

Total time taken to generate the page: 0.32095 seconds