Page 1 of 1

Error opening consed with "Introduction to Consed"

Posted: Wed Jan 27, 2010 12:14 pm
by cpinegar
After downloading the appropriate package/folder for the tutorial and running the command line
>~/workshop/edit_dir/ >consed &

we recieved the following error message:

~/workshop/edit_dir/ >consed &
[1] 2310
~/workshop/edit_dir/ >Darwin Version: 9.8.0
no ~/.consedrc file so no user resources will be used--that's ok
no ./.consedrc file so no project-specific resources--that's ok
couldn't open readOrder.txt--that's ok
_X11TransSocketINETConnect: Can't get address for /tmp/launch-ipeZuY/
Error: Can't open display: /tmp/launch-ipeZuY/:0

help please

Error opening consed

Posted: Fri Jan 29, 2010 12:57 pm
by wleung
Due to changes in Mac OS 10.5, there is a new program called launchd that controls the display settings for X11. launchd set up a temporary variable (e.g. /tmp/launch-XXXX) that Consed cannot interpret. Consequently, Consed cannot identify the DISPLAY to render its windows.

In step 7 of the detailed installation guide, it describes three additional steps that you need to perform in systems running on 10.5. In particular, you need to explicitly set the DISPLAY variable to :0.0 by adding the following in your .cshrc file:

Code: Select all

setenv DISPLAY :0.0
To fix this problem permanently, you can also disable launchd from setting the DISPLAY variable in X11:

Code: Select all

sudo launchctl unload -w /System/Library/LaunchAgents/ org.x.X11.plist