I just intall fedora core 2 but anytime i am trying to open a file using emacs =====> emacs myfile,
i am getting the the error message below. What could i do.
===================ERROR MESSAGE ===========================
crux:/afs/clarkson.edu/class/cs242/komlaaa/hw6/cd> emacs AbstractCd.java
Xlib: connection to "localhost:11.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
emacs: Cannot connect to X server localhost:11.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.