Received: (at 35300) by debbugs.gnu.org; 24 Apr 2019 16:13:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 24 12:13:54 2019 Received: from localhost ([127.0.0.1]:56307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hJKWw-0006Ob-5r for submit <at> debbugs.gnu.org; Wed, 24 Apr 2019 12:13:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1hJKWu-0006OH-G8 for 35300 <at> debbugs.gnu.org; Wed, 24 Apr 2019 12:13:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1hJKWo-0001W6-88; Wed, 24 Apr 2019 12:13:46 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1hJKWd-000578-Ml; Wed, 24 Apr 2019 12:13:37 -0400 From: Glenn Morris <rgm@HIDDEN> To: =?utf-8?Q?=C3=93scar?= Fuentes <ofv@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <2f0e0831-ddb6-3eb6-aa7d-18bc277d41ae@HIDDEN> <87v9z8o3o8.fsf@HIDDEN> X-Spook: Reno Albanian Plane Maple Mena Nerve agent AGT. AMME Drill X-Ran: .xhr["f!#"Y_,]MTb~IpZA6m8y4e0~mE1=t9\w_?i3KqoN7%^w&/%'oV+HOkGG)@HW|Xgb X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 24 Apr 2019 12:13:35 -0400 In-Reply-To: <87v9z8o3o8.fsf@HIDDEN> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sat, 20 Apr 2019 21:52:07 +0200") Message-ID: <dq5zr3wfdc.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Paul Eggert <eggert@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) My version of a friendly emacsclient failure message would be: emacsclient: can't find a socket. Tried: /run/user/1000/emacs/X, /tmp/emacs/1000/X, whatever Things to check: Is a server running? To start one, use "M-x server-start" in Emacs. Do the client and server see the same values for XDG_RUNTIME_DIR, TMPDIR? Current values: A, B
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 20 Apr 2019 19:52:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 15:52:18 2019 Received: from localhost ([127.0.0.1]:46801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHw26-0002wA-Gg for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 15:52:18 -0400 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 <ofv@HIDDEN>) id 1hHw24-0002vr-NY for 35300 <at> debbugs.gnu.org; Sat, 20 Apr 2019 15:52:17 -0400 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@HIDDEN) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 44mk543TqGzMlML; Sat, 20 Apr 2019 21:52:08 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Paul Eggert <eggert@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <2f0e0831-ddb6-3eb6-aa7d-18bc277d41ae@HIDDEN> Date: Sat, 20 Apr 2019 21:52:07 +0200 In-Reply-To: <2f0e0831-ddb6-3eb6-aa7d-18bc277d41ae@HIDDEN> (Paul Eggert's message of "Sat, 20 Apr 2019 12:31:10 -0700") Message-ID: <87v9z8o3o8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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@HIDDEN X-TnetOut-Watermark: 1556394730.42894@+nxiCQY+uxcl/n3AwvrqxQ X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, Glenn Morris <rgm@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Paul Eggert <eggert@HIDDEN> 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."
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 20 Apr 2019 19:31:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 15:31:20 2019 Received: from localhost ([127.0.0.1]:46788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHvho-0002Ru-Js for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 15:31:20 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1hHvhm-0002Rf-0m for 35300 <at> debbugs.gnu.org; Sat, 20 Apr 2019 15:31:18 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E0EB5161803; Sat, 20 Apr 2019 12:31:11 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8b_Cw9ulOmPL; Sat, 20 Apr 2019 12:31:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E4E19161807; Sat, 20 Apr 2019 12:31:10 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DRsF-85xqyKA; Sat, 20 Apr 2019 12:31:10 -0700 (PDT) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id AD76F161725; Sat, 20 Apr 2019 12:31:10 -0700 (PDT) To: =?UTF-8?Q?=c3=93scar_Fuentes?= <ofv@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works Organization: UCLA Computer Science Department Message-ID: <2f0e0831-ddb6-3eb6-aa7d-18bc277d41ae@HIDDEN> Date: Sat, 20 Apr 2019 12:31:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------FA80078580918A6925B573F6" Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, Glenn Morris <rgm@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------FA80078580918A6925B573F6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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. --------------FA80078580918A6925B573F6 Content-Type: text/x-patch; name="0001-Improve-XDG_RUNTIME_DIR-diagnostic.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Improve-XDG_RUNTIME_DIR-diagnostic.patch" From b3a12c62c9085171866256f00dada4326a4a3084 Mon Sep 17 00:00:00 2001 From: Paul Eggert <eggert@HIDDEN> Date: Sat, 20 Apr 2019 09:31:47 -0700 Subject: [PATCH] Improve XDG_RUNTIME_DIR diagnostic * lib-src/emacsclient.c (set_local_socket): If there appears to be an XDG runtime directory for the user but XDG_RUNTIME_DIR is unset, suggest setting it while warning about potential security issues (Bug#35300). --- lib-src/emacsclient.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index f476840898..5871a18ce6 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1357,6 +1357,7 @@ set_local_socket (char const *server_name) int tmpdirlen = -1; int socknamelen = -1; uid_t uid = geteuid (); + bool tmpdir_used = false; if (strchr (server_name, '/') || (ISSLASH ('\\') && strchr (server_name, '\\'))) @@ -1389,6 +1390,7 @@ set_local_socket (char const *server_name) } socknamelen = local_sockname (sockname, socknamesize, tmpdirlen, uid, server_name); + tmpdir_used = true; } } @@ -1462,11 +1464,27 @@ set_local_socket (char const *server_name) if (sock_status < 0) message (true, "%s: Invalid socket owner\n", progname); else if (sock_status == ENOENT) - message (true, - ("%s: can't find socket; have you started the server?\n" - "%s: To start the server in Emacs," - " type \"M-x server-start\".\n"), - progname, progname); + { + if (tmpdir_used) + { + uintmax_t id = uid; + char sockdirname[socknamesize]; + int sockdirnamelen = snprintf (sockdirname, sizeof sockdirname, + "/run/user/%"PRIuMAX, id); + if (0 <= sockdirnamelen && sockdirnamelen < sizeof sockdirname + && euidaccess (sockdirname, X_OK) == 0) + message + (true, + ("%s: Should XDG_RUNTIME_DIR='%s' be in the environment?\n" + "%s: (Be careful: XDG_RUNTIME_DIR is security-related.)\n"), + progname, sockdirname, progname); + } + message (true, + ("%s: can't find socket; have you started the server?\n" + "%s: To start the server in Emacs," + " type \"M-x server-start\".\n"), + progname, progname); + } else message (true, "%s: can't stat %s: %s\n", progname, sockname, strerror (sock_status)); -- 2.17.1 --------------FA80078580918A6925B573F6--
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 20 Apr 2019 17:59:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 13:59:38 2019 Received: from localhost ([127.0.0.1]:46747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHuH3-0006ZM-Kl for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 13:59:37 -0400 Received: from relayout04-redir.e.movistar.es ([86.109.101.204]:44557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hHuH1-0006Z7-0p for 35300 <at> debbugs.gnu.org; Sat, 20 Apr 2019 13:59:35 -0400 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@HIDDEN) by relayout04.e.movistar.es (Postfix) with ESMTPSA id 44mgb40kNMz10Vy; Sat, 20 Apr 2019 19:59:27 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Glenn Morris <rgm@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <bw5zr84lpm.fsf@HIDDEN> Date: Sat, 20 Apr 2019 19:59:27 +0200 In-Reply-To: <bw5zr84lpm.fsf@HIDDEN> (Glenn Morris's message of "Sat, 20 Apr 2019 13:42:45 -0400") Message-ID: <874l6spngg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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@HIDDEN X-TnetOut-Watermark: 1556387968.67992@xSAAnwGdCJS1emQUGjxuyw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Glenn Morris <rgm@HIDDEN> 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.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 20 Apr 2019 17:42:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 13:42:55 2019 Received: from localhost ([127.0.0.1]:46720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHu0s-00044x-E3 for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 13:42:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1hHu0r-00044i-6K for 35300 <at> debbugs.gnu.org; Sat, 20 Apr 2019 13:42:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1hHu0l-0002w1-Kl; Sat, 20 Apr 2019 13:42:47 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1hHu0j-0006iD-7F; Sat, 20 Apr 2019 13:42:45 -0400 From: Glenn Morris <rgm@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> X-Spook: lynch Emergency response Brute forcing Southwest George X-Ran: o1aPB:GOMAu%>wsX1iSM0RA:0AEC|pAs@ClG0Z^T&OgXdQ(0f|l}q~tDj(%LLDPq4acWw~ X-Hue: brightyellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 20 Apr 2019 13:42:45 -0400 In-Reply-To: <83h8aucupc.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 Apr 2019 10:36:47 +0300") Message-ID: <bw5zr84lpm.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 35300 Cc: =?utf-8?Q?=C3=93scar?= Fuentes <ofv@HIDDEN>, 35300 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) Eli Zaretskii wrote: > Feel free to suggest a more useful text, including for NEWS. *** 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.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 15:40:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 11:40:16 2019 Received: from localhost ([127.0.0.1]:44512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHVce-0004th-K4 for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 11:40:16 -0400 Received: from relayout04.e.movistar.es ([86.109.101.204]:37083 helo=relayout04-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hHVcb-0004tL-SL for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 11:40:14 -0400 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@HIDDEN) by relayout04.e.movistar.es (Postfix) with ESMTPSA id 44m0Xk5lqNz11GM; Fri, 19 Apr 2019 17:40:06 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <87ftqeqiic.fsf@HIDDEN> <838sw6cf9o.fsf@HIDDEN> <874l6uqfz5.fsf@HIDDEN> <837ebqccl4.fsf@HIDDEN> <87v9zaoynk.fsf@HIDDEN> <8336mec9um.fsf@HIDDEN> Date: Fri, 19 Apr 2019 17:40:05 +0200 In-Reply-To: <8336mec9um.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 Apr 2019 18:07:13 +0300") Message-ID: <87r29yovfu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 44m0Xk5lqNz11GM.A3E8E X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@HIDDEN X-TnetOut-Watermark: 1556293207.98474@mnoXEv/BP+EwoK9WArF68w X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> > 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... >> >> IIUC, the Emacs server creates the local socket under the directory >> pointed by XDG_RUNTIME_DIR. When emacsclient starts, if XDG_RUNTIME_DIR >> is not set it simply does not know where to find the socket. > > So you are saying that XDG_RUNTIME_DIR did exist when the server was > started, Yes. > but ceased to exist by the time emacsclient was started? It didn't cease to exist. That variable is automatically set when you log in and certain components are installed and enabled. I ssh-ed to the machine and no XDG_RUNTIME_DIR was set on that session because the machinery that sets it up when you log in through ssh was disabled. That is: at the time there was two sessions, one local with XDG_RUNTIME_DIR set and from where the Emacs server was started and a remote session with no XDG_RUNTIME_DIR and, therefore, with emacsclient unable to connect to the Emacs server unless you tell it where the local socket is. As explained on the bug report referenced by Glenn, there are other scenarios where XDG_RUNTIME_DIR is not set (in that case, when the Emacs server starts as a service.) You can read more about XDG_RUNTIME_DIR here: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 15:07:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 11:07:38 2019 Received: from localhost ([127.0.0.1]:44469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHV74-00044t-FO for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 11:07:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hHV72-00044e-CS for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 11:07:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hHV6x-0000ui-AL; Fri, 19 Apr 2019 11:07:31 -0400 Received: from [176.228.60.248] (port=3292 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hHV6v-0003DS-Fd; Fri, 19 Apr 2019 11:07:29 -0400 Date: Fri, 19 Apr 2019 18:07:13 +0300 Message-Id: <8336mec9um.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?iso-8859-1?Q?=D3scar?= Fuentes <ofv@HIDDEN> In-reply-to: <87v9zaoynk.fsf@HIDDEN> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Fri, 19 Apr 2019 16:30:39 +0200) Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <87ftqeqiic.fsf@HIDDEN> <838sw6cf9o.fsf@HIDDEN> <874l6uqfz5.fsf@HIDDEN> <837ebqccl4.fsf@HIDDEN> <87v9zaoynk.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: �scar Fuentes <ofv@HIDDEN> > Cc: rgm@HIDDEN, 35300 <at> debbugs.gnu.org > Date: Fri, 19 Apr 2019 16:30:39 +0200 > > >> 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... > > IIUC, the Emacs server creates the local socket under the directory > pointed by XDG_RUNTIME_DIR. When emacsclient starts, if XDG_RUNTIME_DIR > is not set it simply does not know where to find the socket. So you are saying that XDG_RUNTIME_DIR did exist when the server was started, but ceased to exist by the time emacsclient was started? > > (If my questions bother you, feel free to tell, and I will stop.) > > Not at all, I'm glad to help you as much as I can. Thanks.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 14:30:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 10:30:49 2019 Received: from localhost ([127.0.0.1]:44444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHUXR-000366-Ie for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 10:30:49 -0400 Received: from relayout02.e.movistar.es ([86.109.101.202]:31433 helo=relayout02-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hHUXP-00035s-W6 for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 10:30:48 -0400 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@HIDDEN) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 44lz0c3zh5zdZWw; Fri, 19 Apr 2019 16:30:40 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <87ftqeqiic.fsf@HIDDEN> <838sw6cf9o.fsf@HIDDEN> <874l6uqfz5.fsf@HIDDEN> <837ebqccl4.fsf@HIDDEN> Date: Fri, 19 Apr 2019 16:30:39 +0200 In-Reply-To: <837ebqccl4.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 Apr 2019 17:08:07 +0300") Message-ID: <87v9zaoynk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 relayout02 X-TnetOut-MsgID: 44lz0c3zh5zdZWw.ABE54 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@HIDDEN X-TnetOut-Watermark: 1556289041.67947@OqET1p3w7yMzjxSptT9Lww X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> > 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. As I said before, I don't have the knowledge to be helpful here, except for what applies to my specific case, and even then it is the bare minimum. >> > 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... IIUC, the Emacs server creates the local socket under the directory pointed by XDG_RUNTIME_DIR. When emacsclient starts, if XDG_RUNTIME_DIR is not set it simply does not know where to find the socket. IIRC from the other bug report pointed by Glenn, it seems that there is a fallback behavior, but it only works if the system is configured for that. > (If my questions bother you, feel free to tell, and I will stop.) Not at all, I'm glad to help you as much as I can.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 14:08:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 10:08:37 2019 Received: from localhost ([127.0.0.1]:44428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHUBw-0002XS-P1 for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 10:08:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hHUBu-0002XG-VK for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 10:08:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hHUBp-0003To-Gy; Fri, 19 Apr 2019 10:08:29 -0400 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 <eliz@HIDDEN>) id 1hHUBn-0005CG-Or; Fri, 19 Apr 2019 10:08:28 -0400 Date: Fri, 19 Apr 2019 17:08:07 +0300 Message-Id: <837ebqccl4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?iso-8859-1?Q?=D3scar?= Fuentes <ofv@HIDDEN> In-reply-to: <874l6uqfz5.fsf@HIDDEN> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Fri, 19 Apr 2019 15:31:10 +0200) Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <87ftqeqiic.fsf@HIDDEN> <838sw6cf9o.fsf@HIDDEN> <874l6uqfz5.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: �scar Fuentes <ofv@HIDDEN> > Cc: rgm@HIDDEN, 35300 <at> debbugs.gnu.org > Date: Fri, 19 Apr 2019 15:31:10 +0200 > > Eli Zaretskii <eliz@HIDDEN> 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.)
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 13:31:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 09:31:20 2019 Received: from localhost ([127.0.0.1]:43572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHTbs-0001SX-AS for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 09:31:20 -0400 Received: from relayout02-redir.e.movistar.es ([86.109.101.202]:25643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hHTbp-0001SI-RR for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 09:31:18 -0400 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@HIDDEN) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 44lxgy6LRxzdb0T; Fri, 19 Apr 2019 15:31:10 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <87ftqeqiic.fsf@HIDDEN> <838sw6cf9o.fsf@HIDDEN> Date: Fri, 19 Apr 2019 15:31:10 +0200 In-Reply-To: <838sw6cf9o.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 Apr 2019 16:10:11 +0300") Message-ID: <874l6uqfz5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 relayout02 X-TnetOut-MsgID: 44lxgy6LRxzdb0T.AD0FF X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@HIDDEN X-TnetOut-Watermark: 1556285471.51622@BrbgeVtPiG9vLXbSqmLTaw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii <eliz@HIDDEN> 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? :-) > 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. Really, if XDG_RUNTIME_DIR stays, I volunteer to implement the change I proposed to emacsclient. But I hope something better is found.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 13:10:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 09:10:55 2019 Received: from localhost ([127.0.0.1]:43566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHTI5-0000yC-TE for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 09:10:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hHTI1-0000xx-Iy for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 09:10:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hHTHw-00079V-2f; Fri, 19 Apr 2019 09:10:44 -0400 Received: from [176.228.60.248] (port=3773 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hHTHt-0007b4-2u; Fri, 19 Apr 2019 09:10:43 -0400 Date: Fri, 19 Apr 2019 16:10:11 +0300 Message-Id: <838sw6cf9o.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?iso-8859-1?Q?=D3scar?= Fuentes <ofv@HIDDEN> In-reply-to: <87ftqeqiic.fsf@HIDDEN> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Fri, 19 Apr 2019 14:36:27 +0200) Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> <87ftqeqiic.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: �scar Fuentes <ofv@HIDDEN> > Cc: rgm@HIDDEN, 35300 <at> debbugs.gnu.org > Date: Fri, 19 Apr 2019 14:36:27 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > Feel free to suggest a more useful text, including for NEWS. > > Since I reported this bug because I was stuck and just now barely > attained the required knowledge to fix it on my specific case, I'm far > from being the best qualified person to document anything. I actually think you are very qualified, because you know what is missing from the current text. It would be useful if you could at least point out what information should be added to the current text to make it more useful to your use case. Someone else could then convert that to an actual patch. Thanks. > 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? 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? Thanks.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 12:36:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 08:36:37 2019 Received: from localhost ([127.0.0.1]:43552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHSku-0000C9-R0 for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 08:36:37 -0400 Received: from relayout02.e.movistar.es ([86.109.101.202]:28393 helo=relayout02-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hHSkt-0000Bw-7J for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 08:36:36 -0400 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@HIDDEN) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 44lwSr2mQQzdZgt; Fri, 19 Apr 2019 14:36:28 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> <83h8aucupc.fsf@HIDDEN> Date: Fri, 19 Apr 2019 14:36:27 +0200 In-Reply-To: <83h8aucupc.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 Apr 2019 10:36:47 +0300") Message-ID: <87ftqeqiic.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 relayout02 X-TnetOut-MsgID: 44lwSr2mQQzdZgt.AF9D8 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@HIDDEN X-TnetOut-Watermark: 1556282188.91728@4swskVGaSYAC+34oS7A9+w X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii <eliz@HIDDEN> writes: > Feel free to suggest a more useful text, including for NEWS. Since I reported this bug because I was stuck and just now barely attained the required knowledge to fix it on my specific case, I'm far from being the best qualified person to document anything. 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. Anyways, bug#33847 should be settled first. I sympathize with the reporter there and hope a better method can be achieved.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 07:37:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 03:37:22 2019 Received: from localhost ([127.0.0.1]:43199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHO5K-0005XU-CA for submit <at> debbugs.gnu.org; Fri, 19 Apr 2019 03:37:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hHO5I-0005XG-Nm for 35300 <at> debbugs.gnu.org; Fri, 19 Apr 2019 03:37:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hHO59-00060e-Gc; Fri, 19 Apr 2019 03:37:12 -0400 Received: from [176.228.60.248] (port=2735 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hHO54-0002aQ-Cf; Fri, 19 Apr 2019 03:37:08 -0400 Date: Fri, 19 Apr 2019 10:36:47 +0300 Message-Id: <83h8aucupc.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?iso-8859-1?Q?=D3scar?= Fuentes <ofv@HIDDEN> In-reply-to: <87pnpirc8a.fsf@HIDDEN> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Fri, 19 Apr 2019 03:54:29 +0200) Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> <87pnpirc8a.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org, rgm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: �scar Fuentes <ofv@HIDDEN> > Date: Fri, 19 Apr 2019 03:54:29 +0200 > Cc: 35300 <at> debbugs.gnu.org > > My main concern about this is to ensure that any change that breaks > functionality goes with prominent notes about the change and how to > adapt to it. Showing just the standard error message in the output of > emacsclient when it knows the probable origin of the problem is not user > friendly. We must give a proper note about the existence of new modes of > failure and explain (or at least hint) how to deal with them. Feel free to suggest a more useful text, including for NEWS. Thanks.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 01:54:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 18 21:54:41 2019 Received: from localhost ([127.0.0.1]:42833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHIjh-00017Z-FO for submit <at> debbugs.gnu.org; Thu, 18 Apr 2019 21:54:41 -0400 Received: from relayout02.e.movistar.es ([86.109.101.202]:36005 helo=relayout02-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hHIjf-00017J-67 for 35300 <at> debbugs.gnu.org; Thu, 18 Apr 2019 21:54:39 -0400 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@HIDDEN) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 44lfD65vVNzdb3P; Fri, 19 Apr 2019 03:54:30 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: Glenn Morris <rgm@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> <8v1s1y3k6v.fsf@HIDDEN> Date: Fri, 19 Apr 2019 03:54:29 +0200 In-Reply-To: <8v1s1y3k6v.fsf@HIDDEN> (Glenn Morris's message of "Thu, 18 Apr 2019 20:36:24 -0400") Message-ID: <87pnpirc8a.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 relayout02 X-TnetOut-MsgID: 44lfD65vVNzdb3P.A7A80 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@HIDDEN X-TnetOut-Watermark: 1556243672.84795@cxfTzXpy+bAMiLVWax9HZA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) retitle Improve emacsclient error message to inform about new requirements stop Glenn Morris <rgm@HIDDEN> writes: > Works for me. I guess your ssh is not setting XDG_RUNTIME_DIR. > This is handled by pam_systemd, ref eg > https://www.freedesktop.org/software/systemd/man/pam_systemd.html I have UsePAM no in my sshd config. Thanks Glenn. > See discussion in https://debbugs.gnu.org/33847 Before reporting this issue I found and skimmed over that one. What a mess. My main concern about this is to ensure that any change that breaks functionality goes with prominent notes about the change and how to adapt to it. Showing just the standard error message in the output of emacsclient when it knows the probable origin of the problem is not user friendly. We must give a proper note about the existence of new modes of failure and explain (or at least hint) how to deal with them.
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at 35300) by debbugs.gnu.org; 19 Apr 2019 00:36:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 18 20:36:32 2019 Received: from localhost ([127.0.0.1]:42805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHHW4-0007dC-0X for submit <at> debbugs.gnu.org; Thu, 18 Apr 2019 20:36:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1hHHW2-0007cy-Ve for 35300 <at> debbugs.gnu.org; Thu, 18 Apr 2019 20:36:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1hHHVx-0000hp-Dg; Thu, 18 Apr 2019 20:36:25 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1hHHVw-0006y3-K9; Thu, 18 Apr 2019 20:36:24 -0400 From: Glenn Morris <rgm@HIDDEN> To: =?utf-8?Q?=C3=93scar?= Fuentes <ofv@HIDDEN> Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works References: <87lg09tzmr.fsf@HIDDEN> X-Spook: Lockdown interception AMEMB Croatian Radioactive X-Ran: J$SmkrBnu+=uS'&xhIYchiS<rtCm}bM|u,?vfTM>X|1"%u~.Ea3<uF-KEM?r5xg;GG?h]e X-Hue: yellow X-Attribution: GM Date: Thu, 18 Apr 2019 20:36:24 -0400 In-Reply-To: <87lg09tzmr.fsf@HIDDEN> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Tue, 16 Apr 2019 23:21:32 +0200") Message-ID: <8v1s1y3k6v.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35300 Cc: 35300 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Works for me. I guess your ssh is not setting XDG_RUNTIME_DIR. This is handled by pam_systemd, ref eg https://www.freedesktop.org/software/systemd/man/pam_systemd.html See discussion in https://debbugs.gnu.org/33847
bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 16 Apr 2019 21:21:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 17:21:48 2019 Received: from localhost ([127.0.0.1]:38429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hGVWV-0005hp-VQ for submit <at> debbugs.gnu.org; Tue, 16 Apr 2019 17:21:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ofv@HIDDEN>) id 1hGVWT-0005hN-PA for submit <at> debbugs.gnu.org; Tue, 16 Apr 2019 17:21:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:46036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ofv@HIDDEN>) id 1hGVWN-0004Sg-R4 for submit <at> debbugs.gnu.org; Tue, 16 Apr 2019 17:21:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ofv@HIDDEN>) id 1hGVWM-0003D0-I3 for bug-gnu-emacs@HIDDEN; Tue, 16 Apr 2019 17:21:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ofv@HIDDEN>) id 1hGVWK-0004OV-Fz for bug-gnu-emacs@HIDDEN; Tue, 16 Apr 2019 17:21:38 -0400 Received: from relayout04-redir.e.movistar.es ([86.109.101.204]:43399) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ofv@HIDDEN>) id 1hGVWK-0004Lq-5D for bug-gnu-emacs@HIDDEN; Tue, 16 Apr 2019 17:21:36 -0400 Received: from sky (81.red-79-151-7.dynamicip.rima-tde.net [79.151.7.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@HIDDEN) by relayout04.e.movistar.es (Postfix) with ESMTPSA id 44kJG51ncXz12H5 for <bug-gnu-emacs@HIDDEN>; Tue, 16 Apr 2019 23:21:33 +0200 (CEST) From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.0.50; emacsclient on remote sessions no longer works Date: Tue, 16 Apr 2019 23:21:32 +0200 Message-ID: <87lg09tzmr.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.151.7.81 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout04 X-TnetOut-MsgID: 44kJG51ncXz12H5.A1E2C X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@HIDDEN X-TnetOut-Watermark: 1556054493.60447@//IPvnZRhCKuC2tZMscNYA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.109.101.204 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) After initiating my KDE desktop session on the local machine, I also execute emacs --daemon. On the local machine `emacsclient -c'. Now, if I ssh into my machine, `emacsclient -c -nw' shows: emacsclient: can't find socket; have you started the server? emacsclient: To start the server in Emacs, type "M-x server-start". emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I looked into NEWS and it has a few lines describing some changes but it is not more useful than the above text about what I need to do to get a working emacsclient. (Saying "To get the old, less-secure behavior, you can set the EMACS_SOCKET_NAME environment variable to an appropriate value." is not helpful at all, it assumes that the user knows things that previously he wasn't required to know.) In GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit) of 2019-04-14 built on sky Repository revision: 4fb1a06413224424bc7d022192c2434232dc5e9c Repository branch: fill_column_indicator Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: Debian GNU/Linux buster/sid Configured using: 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-modules' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB LUCID X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings: value of $LANG: C locale-coding-system: nil
Óscar Fuentes <ofv@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#35300
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.