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 19:59:27 +0200 Message-ID: <874l6spngg.fsf@telefonica.net> References: <87lg09tzmr.fsf@telefonica.net> <8v1s1y3k6v.fsf@fencepost.gnu.org> <87pnpirc8a.fsf@telefonica.net> <83h8aucupc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="51864"; 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: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 20 20:00:19 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 1hHuHh-000DN0-QA for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2019 20:00:17 +0200 Original-Received: from localhost ([127.0.0.1]:43951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHuHg-0007fr-KM for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2019 14:00:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHuHW-0007fg-Lf for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 14:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHuHU-0003oC-Pf for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 14:00:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33203) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHuHS-0003mN-EV for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 14:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHuHS-0006aP-6f for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 14:00:02 -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 18:00: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.155578317825260 (code B ref 35300); Sat, 20 Apr 2019 18:00:02 +0000 Original-Received: (at 35300) by debbugs.gnu.org; 20 Apr 2019 17:59:38 +0000 Original-Received: from localhost ([127.0.0.1]:46747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHuH3-0006ZM-Kl for submit@debbugs.gnu.org; Sat, 20 Apr 2019 13:59:37 -0400 Original-Received: from relayout04-redir.e.movistar.es ([86.109.101.204]:44557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHuH1-0006Z7-0p for 35300@debbugs.gnu.org; Sat, 20 Apr 2019 13:59:35 -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 relayout04.e.movistar.es (Postfix) with ESMTPSA id 44mgb40kNMz10Vy; Sat, 20 Apr 2019 19:59:27 +0200 (CEST) In-Reply-To: (Glenn Morris's message of "Sat, 20 Apr 2019 13:42:45 -0400") 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 relayout04 X-TnetOut-MsgID: 44mgb40kNMz10Vy.A5D98 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1556387968.67992@xSAAnwGdCJS1emQUGjxuyw 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:157911 Archived-At: Glenn Morris 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.