0

I have started emacs (v26.1) server:

$ emacs --daemon

I connected using

$ emacsclient -t

From within emacs, well spacemacs, I restarted the daemon SPC q r, which executed dotspacemacs/resume-emacs-resume-layouts tied to restart-emacs.el.

After daemon restarted, I see

$ htop

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command                                                                                                                                    
 6579 dk         20   0  232M  164M  9664 S  0.0  0.3  0:05.46 /opt/conda/bin/emacs --daemon=server --resume-layouts --restart-emacs-desktop /tmp/restart-emacs-desktopOpor7P
 6578 dk         20   0 77948 11348 10024 S  0.0  0.0  0:00.00 /opt/conda/bin/emacs --daemon=server --resume-layouts --restart-emacs-desktop /tmp/restart-emacs-desktopOpor7P  

How can I reconnect to the server? I tried this:

$ emacsclient --s server -t
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: error accessing socket "server"
$ 

Can I use the /tmp/restart-emacs-desktopOpor7P information somehow?

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.