http://qs1969.pair.com?node_id=586137


in reply to Tk OSX couldn't connect to display :0

Start your X11.app first.

EDIT:If you work in a terminal-window you can type open /Applications/Utilities/X11.app/ to start the X11.app.