GNU bug report logs - #35300
27.0.50; emacsclient on remote sessions no longer works

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Tue, 16 Apr 2019 21:22:01 UTC

Severity: normal

Found in version 27.0.50

Full log


Message #47 received at 35300 <at> debbugs.gnu.org (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 35300 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>,
 Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works
Date: Sat, 20 Apr 2019 21:52:07 +0200
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> I installed into master the attached patch, which should cause
> emacsclient to output something like the following in your situation:
>
> emacsclient: Should XDG_RUNTIME_DIR='/run/user/1000' be in the environment?
> emacsclient: (Be careful: XDG_RUNTIME_DIR is security-related.)
>
> I hope this helps.

I have the same reservations expressed by Glenn in emacs-devel, but this
would help me in the wrong way when emacsclient failed on me.

Seeing the message, I'll try this quick hack:

$ XDG_RUNTIME_DIR='/run/user/1000' emacsclient

and that probably would makes things "work".

A more educative message would be something like:

"The environment variable XDG_RUNTIME_DIR is not set and, since version
27, Emacs depends on it to communicate with the server. Usually this
variable is automatically set by the system at log-in. Check any
configuration that might affect how the environment is build when a user
logs-in."




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.