GNU bug report logs -
#35300
27.0.50; emacsclient on remote sessions no longer works
Previous Next
Full log
Message #41 received at 35300 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> *** emacsclient supports an EMACS_SOCKET_NAME environment variable.
> If set, it provides the default server socket filename.
> The command-line emacsclient option --socket-name overrides it.
>
> *** The Emacs server/client now use $XDG_RUNTIME_DIR/emacs for sockets,
> if the XDG_RUNTIME_DIR environment variable is defined.
> This is more secure than the old practice of using TMPDIR.
> If your client cannot find the server socket, check XDG_RUNTIME_DIR
> has the same value in both client and server environments.
> You can use the EMACS_SOCKET_NAME environment variable (see above)
> to specify a particular socket.
This is an improvement, yes. But I'll like to see even a stronger hint
on the output of emacsclient, once we agree that there is no better
solution than to use XDG_RUNTIME_DIR.
It is unfortunate that this change added more requirements to
emacsclient to work correctly.
This bug report was last modified 6 years and 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.