Just recently this has started happening.

I run: /usr/bin/emacsclient --alternate-editor="" --no-wait -c and get `ERROR: Display :0.0 can't be opened'

No other application do this.

output from xdpyinfo:

name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    10707000
X.Org version: 1.7.7


Discovered that old emacs servers/daemons are still running.

$ps ux | grep [e]macs richard 2642 0.0 0.8 38788 24984 ? Ss Jun22 0:25 emacs --daemon richard 7512 0.0 0.6 33896 19720 ? Ss Jun23 0:05 emacs --daemon richard 15458 0.0 0.6 32836 19076 ? Ss 09:40 0:01 emacs --daemon

Any one any ideas how these can be shut-down when I log-off?

asked 23 Jun '11, 08:06

daves%20dad's gravatar image

daves dad
accept rate: 0%

edited 25 Jun '11, 05:13

Does this perhaps happen after hibernating or sleeping? Do you start the emacs daemon in another display context?

(23 Jun '11, 09:22) Jazz ♦

It is not after a hibernate, I had it when I first logged in earlier. What do you mean by display context. My Display is :0.0 the same as emacs believes it to be.

(23 Jun '11, 09:47) daves dad

Best to supply too much rather than too little info when asking for help/analyses. What's the recent history of the machine(s) in question? Software/hardware upgrade? Logging in remotely versus local? Happens on freshly restarted system versus one with long uptime? Maybe always works the first time but never subsequently? Does the "normal" (ie, non client/server) version of Emacs work? Maybe works when your .emacrs is renamed to be .emarcs.HIDDEN? etc, etc, etc...


answered 07 Sep '11, 15:36

mod's gravatar image

accept rate: 0%

I am not having this problem any more, it just went away. Maybe my behaviour has changed back to what it was before. I also have enough info to fix it if it happens again.


answered 08 Sep '11, 04:53

daves%20dad's gravatar image

daves dad
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 23 Jun '11, 08:06

Seen: 3,097 times

Last updated: 08 Sep '11, 04:53

powered by OSQA