Currently, I successfullly installed Stata on my server and can use "./stata" to initiate the program. However, when I try to excute the "./xstata", it says "
You need X-Windows for this version of Stata.
Either define the Unix environment variable DISPLAY or
invoke -stata- rather than -xstata-"

How to solve this problem? Thanks!
I am using MAC terminal and my server is just bought.