emacs-devel
[Top][All Lists]
Advanced

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

Re: Finishing ssh session with "emacsclient -t" kills emacs daemon


From: Dan Nicolaescu
Subject: Re: Finishing ssh session with "emacsclient -t" kills emacs daemon
Date: Wed, 14 Aug 2013 10:23:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Lluís <address@hidden> writes:

> I'd like to keep a daemon running on a server:
>
>     ssh server "nohup emacs --daemon"

Is this emacs compiled with the Gtk+ toolkit? 


> Then, be able to connect to it from different machines using the graphical
> frontend:
>
>     ssh -X server "nohup emacsclient -c"
>
> The problem is that the ssh gets "stuck" after exiting emacs, and whenever I 
> C-c
> it, the daemon just dies. The same happens if I do this "manually":
>
>     ssh -X server
>     emacsclient -c
>     exit
>
> The ssh client gets stuck on the exit, and using C-c finishes the ssh session
> together with the emacs daemon. If instead I use the terminal frontend,
> everything works fine:
>
>     ssh -X server
>     emacsclient -t
>     exit
>
> but that's not what I want.
>
> As a side note, using this:
>
>     ssh server "nohup emacsclient -c"
>
> results in the error "emacsclient: could not get terminal name".
>
>
> Is there any way around the first problem?
>
>
> Thanks,
>   Lluis
>
> -- 
>  "And it's much the same thing with knowledge, for whenever you learn
>  something new, the whole world becomes that much richer."
>  -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
>  Tollbooth



reply via email to

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