help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble getting the daemon thread online.


From: Robert Pluim
Subject: Re: Trouble getting the daemon thread online.
Date: Tue, 02 Aug 2022 10:47:11 +0200

>>>>> On Tue, 2 Aug 2022 10:36:14 +1200, Davin Pearson 
>>>>> <davin.pearson@gmail.com> said:

    Davin> It seems that I was correct in assuming Emacs 28.1
    Davin> is running a daemon thread.  With the new GNU Version I am having 
trouble
    Davin> loading
    Davin> emacs.

Only if you start it with --daemon or run '(server-start)' from your
init file. Unless you mean the desktop environment run files that ship
with emacs, which can start emacs in daemon mode.

    Davin> When I type

    Davin> $emacs

    Davin> at the command prompt, it starts up Emacs but then after 6
    Davin> seconds of loading it terminates itsel f.

    Davin> When I type emacsclient -c it says the following message.

    Davin> /snap/emacs/1609/usr/bin/emacsclient: can't find socket; have you 
started
    Davin> the server?
    Davin> /snap/emacs/1609/usr/bin/emacsclient: To start the server in Emacs, 
type
    Davin> "M-x server-start".
    Davin> /snap/emacs/1609/usr/bin/emacsclient: No socket or alternate editor.
    Davin> Please use:

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

Well, it Emacs isnʼt running, then emacsclient wonʼt be able to
connect to it. You need to figure out why emacs is exiting. 'emacs -Q'
is normally a good start.

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]