On OS X 10.9.2 with XQuartz installed, I get the following message whenever I try to launch an xterm from Terminal.app:

$ xterm
xterm: Xt error: Can't open display: :0.0

How can I run xterm properly?

  • What does “I get” means? Do you mean that, in a terminal from Terminal.app, you type xterm at the prompt and get that message as an answer? – Édouard Apr 5 '14 at 23:30
  • yes, exactly, something like " xterm -e ssh aaa@bbb.ccc" – user74944 Apr 6 '14 at 17:16
  • Have you tried running XQuartz directly from the Applications > Utilities folder? – Édouard Apr 6 '14 at 22:09
  • yes, than it runs for a couple of days, even saying in a terminal xterm -e ssh aaa@bbb.ccc after that I have to kill XQuartz, restart it, can open via Xquartz an xterminal, but not in a aterminal from Terminal.app via "xterm" – user75237 Apr 9 '14 at 8:22

You must log in to answer this question.

Browse other questions tagged .