3

I cannot launch the emacs daemon anymore. I do not know what triggered this. When entering

emacs -Q --daemon -v

I get only the following and nothing happen.

Warning: due to a long standing Gtk+ bug
http://bugzilla.gnome.org/show_bug.cgi?id=85715
Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.
Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.
Starting Emacs daemon.

Starting emacsclient -c returns:

 $ emacsclient -c
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: No socket or alternate editor.  Please use:

    --socket-name
    --server-file      (or environment variable EMACS_SERVER_FILE)
    --alternate-editor (or environment variable ALTERNATE_EDITOR)

I tried to update emacs without success. Do you know what is going on? How can I solve this?

  • You should add some information about what really happens and why you think the daemon doesn't launch anymore. The above warning can IMHO be safely ignored. For me the daemon refuses to start, when my session contains files that need interaction (like a passphrase for a gpg encrypted file). – Uwe Koloska Feb 6 '16 at 23:16
  • @UweKoloska : I say the daemon freezes because emacs does not run. – Alfred M. Feb 8 '16 at 7:53
  • What does it mean: emacs does not run? For me it was twofold: 1. emacs produces a crash 2. running emacs --daemon does not got to background, but responds to emacsclicent. After long searching, I recreated all installed packages (I used cask and pallet) and the error was gone. – Uwe Koloska Feb 14 '16 at 22:29
  • There's a pending edit to this question which looks kind of strange: are you and the editor the same person? @Flow if you and OP are different people, I suggest posting your edit as a comment / perhaps as part of an answer (as steps to figure out what the problem is). – wvxvw Oct 19 '16 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.