emacs editing software not worrking
Hi,
emacs was working perfectly. Suddenly when I typed "emacs" the following massage appeared: Connection lost to X server `localhost:11.0' Thanks |
Emacs is working.
There is something odd about your X windows setup. Try run some other X windows program like xterm and you will see what I mean. Have you used.. * ssh? * su? * virtual console? * vnc If so that may be your problem. |
RE: emacs editing software not working
It seems your display variable is not set correctly. All locahost machines have it set to :0.0 by default. Yours is set to localhost:11.0. This is incorrect.
In a shell type; ( you do not need to be root ) echo $DISPLAY This will show you what your display is currently set at. You want to change it to :0.0, to do this type; ( you do not need to be root ) DISPLAY=:0.0 Now type emacs again in the shell and it should work. In retrospect you can display all variables by typing; env Do not change any unless you know exactly what you are doing. |
emacs not worrking
Hi,
I did exactly what you said but i have the following massage: emacs: Cannot connect to X server :0.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. Thanks |
Hi,
I Opened Exceed for SSH (passive) before starting the emacs. it works. but it was worrking before with out this step. can any body tell me why nwo i need to do this step? Thanks |
All times are GMT -5. The time now is 09:24 PM. |