View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

X11 xterm error

tomph wrote on Mar 19, 2008

Hey again
After trying various things to get IRAF wroking in cygwin i have decided to star from scratch including reinstalling cygwin.
I previously performed eveything in the bash shell, this time i was going to try using xterm, i started up start X ok, however when trying to run xterm (from the icon in the start menu) i got the following error message popup:

A fatal error has occurred and Cygwin/X will now exit.
Please open /tmp/XWin.log for more information

Vendor: The Cygwin/X Project
Release: 6.8.99.901-4
Contact: cygwin-xfree@cygwin.com

Xwin was started with the following command line:
/usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error

I think this is the XWin.log it suggested

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running

Any help would be greatly appreciated

cheers

tomph wrote on Mar 19, 2008

Ok that bits sorted

ill keep posting to this thread for other errors for now

tomph wrote on Mar 19, 2008

cool cool so everythings working a bit better than before i have it so i can bring up ds9 with iraf

at the minute when i try display i get the following message

the use of display brings up the error message
ERROR: Cannot open device (node! imtool,,512,512)

i think its very nearly working now though

thanks

tomph wrote on Mar 19, 2008

would i possibly need to run ds9 from iraf rather than at some point before like in xgterm?

If so at present i get

ecl> ds9 &
[1]
ecl>
[1] ERROR: task `ds9' not found

[1] done 0.0 0:00 0%

cool cool

Mike Fitzpatrick wrote on Mar 19, 2008

DS9 is not an IRAF task, so you'll need to escape it to start, e.g.

cl> !ds9 &


This requires that DS9 be in your path, or that you specify the full path to the binary.

-Mike

tomph wrote on Mar 19, 2008

Brilliant thanks all seems fairly in order, I found a few other changes i needed to make in communicating with ds9

cheers to everyone who helped me get IRAF set up

Last post on Mar 19, 2008