X11 and Terminal.app

Add this to /etc/profile:

# added to allow X11 applications to run
if [[ -z $DISPLAY ]]
then
export DISPLAY=:0.0
fi

And this to /etc/csh.cshrc:

# added to allow X11 applications to run
if (! $?DISPLAY) then
setenv DISPLAY :0.0
endif

This entry was posted in Mac OS X. Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.