From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35300: 27.0.50; emacsclient on remote sessions no longer works Date: Fri, 19 Apr 2019 17:08:07 +0300 Message-ID: <837ebqccl4.fsf@gnu.org> References: <87lg09tzmr.fsf@telefonica.net> <8v1s1y3k6v.fsf@fencepost.gnu.org> <87pnpirc8a.fsf@telefonica.net> <83h8aucupc.fsf@gnu.org> <87ftqeqiic.fsf@telefonica.net> <838sw6cf9o.fsf@gnu.org> <874l6uqfz5.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="96119"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35300@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 19 16:25: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 1hHUS4-000Orz-Nz for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Apr 2019 16:25:16 +0200 Original-Received: from localhost ([127.0.0.1]:57253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHUS3-0004sO-NE for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Apr 2019 10:25:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHURu-0004h0-Px for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 10:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHUCM-0004Om-SI for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 10:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHUCM-0004OG-PK for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 10:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHUCM-0002YC-CM for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 10:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Apr 2019 14:09:02 +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.15556829179766 (code B ref 35300); Fri, 19 Apr 2019 14:09:02 +0000 Original-Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 14:08:37 +0000 Original-Received: from localhost ([127.0.0.1]:44428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHUBw-0002XS-P1 for submit@debbugs.gnu.org; Fri, 19 Apr 2019 10:08:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHUBu-0002XG-VK for 35300@debbugs.gnu.org; Fri, 19 Apr 2019 10:08:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHUBp-0003To-Gy; Fri, 19 Apr 2019 10:08:29 -0400 Original-Received: from [176.228.60.248] (port=3588 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hHUBn-0005CG-Or; Fri, 19 Apr 2019 10:08:28 -0400 In-reply-to: <874l6uqfz5.fsf@telefonica.net> (message from =?UTF-8?Q?=C3=93scar?= Fuentes on Fri, 19 Apr 2019 15:31:10 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:157839 Archived-At: > From: Óscar Fuentes > Cc: rgm@gnu.org, 35300@debbugs.gnu.org > Date: Fri, 19 Apr 2019 15:31:10 +0200 > > Eli Zaretskii writes: > > >> FWIW, the least emacsclient could do is to inform about its dependency > >> on XDG_RUNTIME_DIR when it fails to connect to the server and that > >> variable is undefined. > > > > Any other missing pieces of information you'd like to be added? > > All the documentation I browsed for an hour before figuring out what the > problem was? :-) Thanks, but that's not specific enough for me to take any practical action. > > Also, I don't think I understand clearly what exactly failed in your > > case. Did you have XDG_RUNTIME_DIR defined or didn't you? If you > > did, what exactly caused the failure to find the socket? > > Some time ago I disabled PAM on my sshd_config, because it was not use > for me and it adds complexity to the log-in procedure. Everything worked > fine for years, emacsclient included, until just a few days ago that I > started using Emacs 27 for testing one of the new features. So you didn't have XDG_RUNTIME_DIR set? In that case, I feel I understand the issue even less, because when XDG_RUNTIME_DIR is not defined, emacsclient is supposed to fall back to the old behavior... (If my questions bother you, feel free to tell, and I will stop.)