Welcome to iraf.net Friday, May 17 2024 @ 03:14 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 problem with X11iraf on macintel
   
jcl
 08/24/2006 04:06PM (Read 10371 times)  
+----
Newbie

Status: offline


Registered: 08/24/2006
Posts: 7
Hi. I have sucessfully (I think) installed IRAF on an Intel Macbook Pro, but the x11iraf applications do not work. I get the following error:xgterm Xt error: Can't open display:
I am new to Mac OSX, but have been using IRAF, xgterm, ds9, etc. for years on a Linux PC.Thanks,Jessica

 
Profile Email
 Quote
fitz
 08/24/2006 04:06PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
It probably just means you didn't start X before trying to start XGterm. The normal aqua window environment doesn't support raw X11 applications so you need to start the X server first, i.e. Applications->Utilities->X11 or% open - a X11 from a terminal window.-Mike

 
Profile Email
 Quote
jcl
 08/24/2006 04:06PM  
+----
Newbie

Status: offline


Registered: 08/24/2006
Posts: 7
I do have X11 running. I also get the folliwing error when trying to run ds9 (maybe this will help figure out the problem):Application initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: invalid command name "option"
while executing
"option add "*Entry*BorderWidth" 1"
(file "./zvfsmntpt/src/ds9.tcl" line 10)Thanks,Jessica

 
Profile Email
 Quote
fitz
 08/24/2006 04:06PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
It shouldn't be necessary, but tryxgterm -display :0.0or setenv DISPLAY :0.0before starting xgterm/ds9. I hadn't seen the ds9 error you report before but it may be related to the failure to connect to the X server.-Mike

 
Profile Email
 Quote
jcl
 08/24/2006 04:06PM  
+----
Newbie

Status: offline


Registered: 08/24/2006
Posts: 7
That worked! I don't understand why that is necessary, but at least it's fixed. Thank you so much!Jessica

 
Profile Email
 Quote
sirmarcos
 08/24/2006 04:06PM  
++---
Junior

Status: offline


Registered: 12/05/2005
Posts: 32
I'm several months late to this thread, but if one tries to run X11 applications from the OS X Terminal in /Applications/Utilities the DISPLAY variable is not set. So, another solution would be to make sure you're using one of the xterms in X11 and not OS X's own Terminal.

The re-born Mac IRAF web site: http://macsingularity.org
 
Profile Email Website
 Quote
   
Content generated in: 0.21 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login