From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#35300: 27.0.50; emacsclient on remote sessions no longer works Date: Sat, 20 Apr 2019 21:52:07 +0200 Message-ID: <87v9z8o3o8.fsf@telefonica.net> References: <2f0e0831-ddb6-3eb6-aa7d-18bc277d41ae@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="13459"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35300@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 20 21:53:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHw2z-0003Fr-9R for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2019 21:53:13 +0200 Original-Received: from localhost ([127.0.0.1]:44814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHw2y-0005tC-AK for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2019 15:53:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHw2q-0005rg-Ag for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 15:53:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHw2p-0007dL-CO for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 15:53:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHw2p-0007dE-7z for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 15:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHw2p-0002xe-5n for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 15:53:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2019 19:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35300 X-GNU-PR-Package: emacs Original-Received: via spool by 35300-submit@debbugs.gnu.org id=B35300.155578993811298 (code B ref 35300); Sat, 20 Apr 2019 19:53:03 +0000 Original-Received: (at 35300) by debbugs.gnu.org; 20 Apr 2019 19:52:18 +0000 Original-Received: from localhost ([127.0.0.1]:46801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHw26-0002wA-Gg for submit@debbugs.gnu.org; Sat, 20 Apr 2019 15:52:18 -0400 Original-Received: from relayout03.e.movistar.es ([86.109.101.203]:39157 helo=relayout03-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHw24-0002vr-NY for 35300@debbugs.gnu.org; Sat, 20 Apr 2019 15:52:17 -0400 Original-Received: from sky (108.red-79-151-7.dynamicip.rima-tde.net [79.151.7.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 44mk543TqGzMlML; Sat, 20 Apr 2019 21:52:08 +0200 (CEST) In-Reply-To: <2f0e0831-ddb6-3eb6-aa7d-18bc277d41ae@cs.ucla.edu> (Paul Eggert's message of "Sat, 20 Apr 2019 12:31:10 -0700") X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.151.7.108 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout03 X-TnetOut-MsgID: 44mk543TqGzMlML.A5788 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1556394730.42894@+nxiCQY+uxcl/n3AwvrqxQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157913 Archived-At: Paul Eggert 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."