LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xterm Error Not Able To Display (http://www.linuxquestions.org/questions/linux-software-2/xterm-error-not-able-to-display-248679/)

ujnam 10-29-2004 05:35 AM

Xterm Error Not Able To Display
 
i m using cygwin to run the GUI applications installed under linux redhat 8
but the xterm gives an error, when ever i try to run a GUI application.
The error is.
" Error: Can't open display: 127.0.0.1:0 "
the environment variable display is set so " DISPLAY=127.0.0.1:0 "
can anybody pls let me know, how should i set the DISPLAY variable, so that i can run an application.

thanks in advance

r0b0 10-29-2004 10:05 AM

127.0.0.1 always points to local computer. That means in points to the linux machine when used on linux and it points to the windows machine when used in windows.
What you need to do is to set the DISPLAY variable to IP address of the windows machine (the one with cygwin-X).
Then the gui application will show up on the windows desktop.

ujnam 11-01-2004 07:50 AM

thank's a lot.
Now it's working fine.


All times are GMT -5. The time now is 02:19 PM.