Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xterm: Xt error: Can't open display: xterm: DISPLAY is not set

Hello, I am completely new to networking/systems. I have been asked to complete an open flow tutorial ( http://www.openflow.org/wk/index.php/OpenFlow_Tutorial ) I have fininshed a part of the tutorial and when i used "ssh -X mininet@192.168.**.*", I was able to log in successfully but when i type in Xterm, it says "xterm: Xt error: Can't open display: xterm: DISPLAY is not set". I have downloaded virtual box, XQuartz and an ovf file as given in teh tutorial. I don't know what the problem is. Can someone please guide me through this? Thank you so much!

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on May 17, 2013 10:23 AM

Reply
Question marked as Best reply

Posted on May 17, 2013 10:27 AM

Did you logout and login after installing XQuartz? Or reboot?


Otherwise the DISPLAY environment variable will not be in your environment.

32 replies

Mar 13, 2014 4:55 PM in response to shja

Curious to know how ones does this when NOT using ssh. BITD I could have a colleague toss an xterm on my display by using xhost and specifying their machine. Or being lazy xhost +. They would set DISPLAY to my machine. Is this turned off in XQuartz even though xhost say access control is allowed??

xterm: Xt error: Can't open display: xterm: DISPLAY is not set

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.