komlaaa
asked on
emacs on feora core 2
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/cla ss/cs242/k omlaaa/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.
i am getting the the error message below. What could i do.
===================ERROR MESSAGE ==========================
crux:/afs/clarkson.edu/cla
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.
Is the user you are when invoking emacs the same user that logged in? If that's not the case you'll see this error.
Hi,
crux:/afs/clarkson.edu/cla ss/cs242/k omlaaa/hw6 /cd> xhost +; emacs -d `echo $DISPLAY` AbstractCd.java
Wesly
crux:/afs/clarkson.edu/cla
Wesly
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.