From unknown Sat Jun 21 03:29:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40831 <40831@debbugs.gnu.org> To: bug#40831 <40831@debbugs.gnu.org> Subject: Status: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly Reply-To: bug#40831 <40831@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:29:40 +0000 retitle 40831 28.0.50; Remote Emacsclient with --create-frame doesn't seem = to work correctly reassign 40831 emacs submitter 40831 Philipp Stephani severity 40831 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 24 16:48:26 2020 Received: (at submit) by debbugs.gnu.org; 24 Apr 2020 20:48:26 +0000 Received: from localhost ([127.0.0.1]:58073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jS5FJ-0000rS-JG for submit@debbugs.gnu.org; Fri, 24 Apr 2020 16:48:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:46245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jS5FH-0000rH-7p for submit@debbugs.gnu.org; Fri, 24 Apr 2020 16:48:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41504) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jS5FF-0002MP-Sb for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 16:48:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jS5FF-0004Zs-41 for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 16:48:21 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:43693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jS5FE-0004QD-Mk for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 16:48:20 -0400 Received: by mail-wr1-x42b.google.com with SMTP id i10so12655910wrv.10 for ; Fri, 24 Apr 2020 13:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=7YbBJHH93vHCxz46kV5rrodhoT47XbV5M5uLJLOlRzQ=; b=n8AdKq/J/6Htsc+HQQk4XCjWQpgP3YLnPP3fytSIBeInKhNVpO+hD19u4JEea5xKuZ KxoRTYi3kYcblhVgfw5RqCnMRqM8t1BUitX1GLISy+xQHkL1mn/+n7AugU6isFZfTyGa A644NMn1KZJcopO9tGSfFt/ez5bS+7CDOF4fwbB47L0hXqJ2iVUYiUDzsWyIhC2L4hFv Esinnz75U2bxeGTb+h+Ze2k7iQ5Autjlw2N+V8WfT5jyOXW0XVlqdYqilSeVLX4WS7NQ gAt9PXR2Lkj50gddU/f8Z8ggf8Hikydm2LKArE2SxtBDmIL5gZiK1RMcLdo+EKkRdZP1 cj9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=7YbBJHH93vHCxz46kV5rrodhoT47XbV5M5uLJLOlRzQ=; b=cQkxh598Ro6k6trlK5oHRg1dWepvwXgKPbCAr8C4507gt6IfRThwdT2Uz//NCuDd02 4b/BY/LwclqumuxP8XYsQ457VQOaegfFUxrG3fW/cWbbYbCPVs23s6HVRfg4G/hyyFTM jaTkkweXj7dpTqgEU/2WA2fYKWv58VJXTipjQpHUVzaKOR/DroVXt4lcNMZCOQBCqiOZ VESwsBnK4F9g30w6X/ZxU6Hn/9DzFMcrEVDJ2Y81yYWWdNw4EXGD9Dwp2NFRFUf5xYIU XiTgHEJ8t/jpEPBDPGR4UAKUOvKOwMyzO2E3ScHpi4nELvUQ1rjEmacswXoK6hqyEgSy 6XcQ== X-Gm-Message-State: AGi0PuamcvaIUyRIj7oMA/4G5ungvCQiim87vJv9Cua7Gzp9ThiVfCvk hfAw2DkksVmqTbHTfE3pwMINGjZ6cYQ= X-Google-Smtp-Source: APiQypJLI5uFGvv4Zg9JSdwXcJEo9STbG6bpCnKNVxcoc7AiKoxm9JBTaPvTi8xIPa5v6c4BG9o1iw== X-Received: by 2002:a05:6000:10:: with SMTP id h16mr13073475wrx.295.1587761298613; Fri, 24 Apr 2020 13:48:18 -0700 (PDT) Received: from phst1 ([2a02:2455:2a2:100:c351:ffcc:5d8e:4288]) by smtp.gmail.com with ESMTPSA id b2sm10930072wrn.6.2020.04.24.13.48.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Apr 2020 13:48:18 -0700 (PDT) From: Philipp Stephani To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly Date: Fri, 24 Apr 2020 22:48:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::42b X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is unfortunately a bit hard to reproduce and probably depends on details of the system. However, the following steps work for me: 1. emacs -Q -l server -eval '(setq server-name "/tmp/emacs.sock")' -f server-start Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: x.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (p.stephani2[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (p.stephani2[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) This is unfortunately a bit hard to reproduce and probably depends on details of the system. However, the following steps work for me: 1. emacs -Q -l server -eval '(setq server-name "/tmp/emacs.sock")' -f serve= r-start 2. SSH into some remote machine and forward the socket: ssh -R /tmp/emacs.sock:/tmp/emacs.sock REMOTE_HOST 3. On the remote machine: emacsclient -T "/ssh:$HOSTNAME:/" -s /tmp/emacs.sock --create-frame FILE= NAME At least on my setup, no frame is created on the first machine. In GNU Emacs 28.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, c= airo version 1.16.0) of 2020-04-24 Repository revision: 85fb94273375fe793ced4404ade6392e38b4c381 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux rodete Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --enable-gtk-deprecation-warnings --with-modules --without-pop --with-mailutils --enable-gcc-warnings=3Dwarn-only CFLAGS=3D-O3 LDFLAGS=3D-O3' Configured features: XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars mailcap subr-x rx gnutls puny seq byte-opt gv bytecomp byte-compile cconv dbus xml cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 63639 4885) (symbols 48 8451 1) (strings 32 22359 1976) (string-bytes 1 709828) (vectors 16 12526) (vector-slots 8 175244 8438) (floats 8 25 29) (intervals 56 202 0) (buffers 992 11)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado If you received this communication by mistake, please don=E2=80=99t forward= it to anyone else (it may contain confidential or privileged information), please erase all copies of it, including all attachments, and please let the sender know it went to the wrong person. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 10:23:53 2020 Received: (at 40831) by debbugs.gnu.org; 29 Apr 2020 14:23:53 +0000 Received: from localhost ([127.0.0.1]:44160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTncu-0007dF-S9 for submit@debbugs.gnu.org; Wed, 29 Apr 2020 10:23:53 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:37296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTncs-0007d1-V7 for 40831@debbugs.gnu.org; Wed, 29 Apr 2020 10:23:52 -0400 Received: by mail-wr1-f49.google.com with SMTP id k1so2785503wrx.4 for <40831@debbugs.gnu.org>; Wed, 29 Apr 2020 07:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=1n2OCqUBYhzM78fkeSvgBH0CzyCT3YEnP5opjDKD1Dk=; b=N5P87ZWmfy/4lMDw2zUUGKIgNzsgkNwofZpRlzbxzMRK9iRHi4R7Yx901e2FBVwAdb N37XIJxtBXcckt3eP47T1AeKxDINhtqEi9NkT8QRSAFa/TF2IijkEVfZycTSS9bJX2kG UDHHsvThN049K7HjxvPWzdlCi72nAN5XnaV94eNbwgV0T3nmc24Lf+AAiHEAQEL7cKwV JlwJ4gbO7jaIN4GWkoKu3KYP8mDrs2HhS4nN+Xcan4XXByoAAaozkSDdR5xJ+Bg8loGe q5939vigqYyG/eZ0hmHFUKQcQZQEW1+nbNtr/699Hy+KEspT/0tVNMPYhf+/Qq7SB1cg RtGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=1n2OCqUBYhzM78fkeSvgBH0CzyCT3YEnP5opjDKD1Dk=; b=kuD9E0ygfUHa9sdRB3vRYB/DkPGH+ZrDTM+43l8mC9ljLXG+OPnbQ+kmEmS/S0ssOg 8Qf62qD2GP/VHV8RvKbMxZck8iPP5iPPjZJ8H5NSyDI69hIVwHy6M5hbx0wuAlIE9Xf1 51giq3UYW0x2hMokfnwL6vC1yC7O5ppp2fxPmF3EateHDQ0TXQncIWtYOkfWvKieVMuD +z6wGC+BvW1tj7gHGTvPZNGxMl7bquO2uPVZ86lj4OaRQnavaJOE3zdL0/kXAbWR0PrG Zoa9Oxi1fuYByo8DbXmjUsES5/ZqkDxxaTk97mo8v61U4PzVCGjx4jXCpgESDnZg5Vmm bONg== X-Gm-Message-State: AGi0Pub1KC4GkAKDPcWnFLijrYcx/TBj7vei9ax+5CLxp63MgNc0MnMm PzjfCjjMuwR1r2XpaJiYXR4KGaFLg0ekrQ== X-Google-Smtp-Source: APiQypJSsEDAiDlfa6aCXMu3W15gK7Lh+bC552xta8C3cZH4wIkI8lmfEFL+O5iYK95Eop3nE7202g== X-Received: by 2002:adf:ee05:: with SMTP id y5mr38054374wrn.176.1588170224747; Wed, 29 Apr 2020 07:23:44 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:815b:e8d4:705f:b718]) by smtp.gmail.com with ESMTPSA id j10sm8275344wmi.18.2020.04.29.07.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 07:23:43 -0700 (PDT) From: Robert Pluim To: Philipp Stephani Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly References: Date: Wed, 29 Apr 2020 16:23:42 +0200 In-Reply-To: (Philipp Stephani's message of "Fri, 24 Apr 2020 22:48:17 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40831 Cc: 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 24 Apr 2020 22:48:17 +0200, Philipp Stephani said: Philipp> This is unfortunately a bit hard to reproduce and probably dep= ends on Philipp> details of the system. However, the following steps work for = me: Philipp> 1. emacs -Q -l server -eval '(setq server-name "/tmp/emacs.soc= k")' -f server-start Philipp> 2. SSH into some remote machine and forward the socket: Philipp> ssh -R /tmp/emacs.sock:/tmp/emacs.sock REMOTE_HOST Philipp> 3. On the remote machine: Philipp> emacsclient -T "/ssh:$HOSTNAME:/" -s /tmp/emacs.sock --crea= te-frame FILENAME Philipp> At least on my setup, no frame is created on the first machine. '--create-frame' attempts to create a graphical frame, as far as I know. Does '-t' work instead? (frankly I=CA=BCm amazed any of this even vaguely works over ssh forwarded local sockets :-)) Roobert From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 01:51:12 2021 Received: (at 40831) by debbugs.gnu.org; 28 Jan 2021 06:51:12 +0000 Received: from localhost ([127.0.0.1]:46924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5196-0005E0-2V for submit@debbugs.gnu.org; Thu, 28 Jan 2021 01:51:12 -0500 Received: from quimby.gnus.org ([95.216.78.240]:58914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5194-0005Do-IG for 40831@debbugs.gnu.org; Thu, 28 Jan 2021 01:51:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Eo7e/6VBKx+xQZz3z3PnD/4+ZYGazDj47M1g/by/KL4=; b=X6ObmkzlIndPDGedcGZZLYEhDx 87EamcCAooahdnpCyRVGBmrJAKHM2AQw+kuBSnUiTOeKKu/4ewhKW8r9GygJWKlt/EpYwcbMrfpkq pexO01J8t3PDSVkNM87rxsGHY+LP6r0nHH8nQQiS73Cmfc0K3fG+hL1aHi9mHJkaxJys=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l518l-0005Jd-JH; Thu, 28 Jan 2021 07:51:03 +0100 From: Lars Ingebrigtsen To: Robert Pluim Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly References: X-Now-Playing: A Certain Ratio's _acr:box (1)_: "Don't You Worry 'bout a Thing" Date: Thu, 28 Jan 2021 07:50:50 +0100 In-Reply-To: (Robert Pluim's message of "Wed, 29 Apr 2020 16:23:42 +0200") Message-ID: <87wnvx1rn9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > Philipp> 3. On the remote machine: > > Philipp> emacsclient -T "/ssh:$HOSTNAME:/" -s /tmp/emacs.sock > Philipp> --create-frame FILENAME > > Philipp> At least on my setup, no frame is created on the [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40831 Cc: Philipp Stephani , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Robert Pluim writes: > Philipp> 3. On the remote machine: > > Philipp> emacsclient -T "/ssh:$HOSTNAME:/" -s /tmp/emacs.sock > Philipp> --create-frame FILENAME > > Philipp> At least on my setup, no frame is created on the first machi= ne. > > '--create-frame' attempts to create a graphical frame, as far as I > know. Does '-t' work instead? But isn't the bug report about not being able to create graphical frames? I'd assume -t would work fine... > (frankly I=CA=BCm amazed any of this even vaguely works over ssh forwarded > local sockets :-)) Me too. :-) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 03:17:45 2021 Received: (at 40831) by debbugs.gnu.org; 28 Jan 2021 08:17:46 +0000 Received: from localhost ([127.0.0.1]:47096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l52Ur-0005Hl-Nc for submit@debbugs.gnu.org; Thu, 28 Jan 2021 03:17:45 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:43075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l52Uo-0005HV-VY for 40831@debbugs.gnu.org; Thu, 28 Jan 2021 03:17:44 -0500 Received: by mail-wr1-f48.google.com with SMTP id z6so4404642wrq.10 for <40831@debbugs.gnu.org>; Thu, 28 Jan 2021 00:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=YTBE5dmSx9I5We+3yBXCa9TR8azLjKz+zZYLKEdyYaw=; b=Q002spEFE3TvA1ScTg5datxk257NmjoMaK6dKHcK7j0HlGSyNHSdhDge/wZr/FSe9W ocs4zwG/H0jajXV6A/P5YpAuQ2N7/MJtLnOpL+c+IGUOx6kUzAZvqFwxnRfc6XkSPMxi iYJBIPKL/JwcU9DUR0t94+7BDSQu+8220cAbly5XMuNoMhFifHTWFabJqpjXQKY+Z/3x 027Od/gBZJz1AmXKoMLIRJLqaskxnCyn41tz+g7fTGYeyecokqBKVlsWc2UIpXe60/nZ ySvByAwryMlogI0XEKOHnkX4zovHVtp0wRj6fow7mNlHrCpFKuAk2PSsiKO6SNVPJke/ 3a+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=YTBE5dmSx9I5We+3yBXCa9TR8azLjKz+zZYLKEdyYaw=; b=f/udWGlfD49JHDrocUMkL1WkdOYPSJ6JaOX3W3cRUm3kbvWTgV1BOf94EMZ+2ZK4Sc DKhBJY6dvszW/DjNRz3Atfkihu1AggUFKoKXY40xC2uBXOGaEzV+PTyLZOpMApD5yAuv GNp7ykG86CiHUpTQswALeL5qRHXhhKKwK0Im9i3Ll/NKLJv3MFHWujEoWyK6uTVO6P0e 7xvXdXPf7JYF/yeZOJE1rMZPR5f3bgQqQvOC7s95gKaoQGf8V+sDikCGEieappplQ4Sz GBSF94t6Juc2nQBpRA4z5IW56hu62ujRyaxC1xiNnIqT+KLjcH9Huqtw3qqL8oBBM1sf bQEg== X-Gm-Message-State: AOAM531wtVHOakcOyYotKf95ZvAkIOkgRUjVB84XxzOIHqctFA9xXkMW 6uE7nD0cNkxofWWGSjAaZ7L9Y/lgU6TKwA== X-Google-Smtp-Source: ABdhPJykWnzlvYIJKHQiz3NtApZhCs2+v/LaXja2EMcBurahQVl0cByPpb7kf0VXJGCMM1Q7+NkRFQ== X-Received: by 2002:a5d:4ec3:: with SMTP id s3mr11180041wrv.79.1611821856549; Thu, 28 Jan 2021 00:17:36 -0800 (PST) Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id f18sm4906888wmj.28.2021.01.28.00.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 00:17:35 -0800 (PST) From: Robert Pluim To: Lars Ingebrigtsen Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly References: <87wnvx1rn9.fsf@gnus.org> Date: Thu, 28 Jan 2021 09:17:33 +0100 In-Reply-To: <87wnvx1rn9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 28 Jan 2021 07:50:50 +0100") Message-ID: <87r1m5tqzm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40831 Cc: Philipp Stephani , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 28 Jan 2021 07:50:50 +0100, Lars Ingebrigtsen said: Lars> Robert Pluim writes: Philipp> 3. On the remote machine: >>=20 Philipp> emacsclient -T "/ssh:$HOSTNAME:/" -s /tmp/emacs.sock Philipp> --create-frame FILENAME >>=20 Philipp> At least on my setup, no frame is created on the first machine. >>=20 >> '--create-frame' attempts to create a graphical frame, as far as I >> know. Does '-t' work instead? Lars> But isn't the bug report about not being able to create graphical Lars> frames? I'd assume -t would work fine... Where's the X connection that emacs would use to create the graphical frame? It=CA=BCs the emacs server socket that=CA=BCs been forwarded. Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 03:21:58 2021 Received: (at 40831) by debbugs.gnu.org; 28 Jan 2021 08:21:58 +0000 Received: from localhost ([127.0.0.1]:47117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l52Yw-0005Q1-6u for submit@debbugs.gnu.org; Thu, 28 Jan 2021 03:21:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l52Yu-0005Pm-4O for 40831@debbugs.gnu.org; Thu, 28 Jan 2021 03:21:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y+mE0I89dIulnkrg3lZTE0wzyY/hfhsXYHZtsEkQ9Rw=; b=DA7HK/LsOC9pNuAHaMAtdVF/5E Hf02J/hGoAw6F3nINZlQc8jUUak2DirJliSvzOP94DzDAXttLnLyXkMuK+/gHOBIyUBS3RM3CR3UQ KczfjSTi6cGFno/c/IoGF6LdbNmU023OCebLi7rNVAYgScrZ5m5V62gjwrdp/NkcfBww=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l52Yj-00060r-7f; Thu, 28 Jan 2021 09:21:48 +0100 From: Lars Ingebrigtsen To: Robert Pluim Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly References: <87wnvx1rn9.fsf@gnus.org> <87r1m5tqzm.fsf@gmail.com> X-Now-Playing: Josephine Wiggs's _We Fall_: "Turn to Moss" Date: Thu, 28 Jan 2021 09:21:43 +0100 In-Reply-To: <87r1m5tqzm.fsf@gmail.com> (Robert Pluim's message of "Thu, 28 Jan 2021 09:17:33 +0100") Message-ID: <871re51nfs.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > Where's the X connection that emacs would use to create the graphical > frame? Itʼs the emacs server socket thatʼs been forwarded. Yes, but the Emacs daemon and the display were both on machine 1, so the display wouldn't need to be forwarded? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40831 Cc: Philipp Stephani , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Robert Pluim writes: > Where's the X connection that emacs would use to create the graphical > frame? It=CA=BCs the emacs server socket that=CA=BCs been forwarded. Yes, but the Emacs daemon and the display were both on machine 1, so the display wouldn't need to be forwarded?=20=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 03:43:15 2021 Received: (at 40831) by debbugs.gnu.org; 28 Jan 2021 08:43:16 +0000 Received: from localhost ([127.0.0.1]:47162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l52tX-0005yK-N9 for submit@debbugs.gnu.org; Thu, 28 Jan 2021 03:43:15 -0500 Received: from mail-oi1-f176.google.com ([209.85.167.176]:34540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l52tW-0005y8-77 for 40831@debbugs.gnu.org; Thu, 28 Jan 2021 03:43:14 -0500 Received: by mail-oi1-f176.google.com with SMTP id h192so5262354oib.1 for <40831@debbugs.gnu.org>; Thu, 28 Jan 2021 00:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bqIemGKTDJhumlociM0DFRKMfWUWVF6Bw782H+1KOWA=; b=vSyYUwHXKBV9BxjWtJGcsXHo2hVg9IBdK8iNoEyB8iDsQFeZ71BAkQx9CAwBTo2lzj 3KXbBPfalHuljW1//d5mjfqgP0nViAOMp5kPmEmx25D9ICYFvVqPtuRvldOaHtSI8bju EvaFT3ZF5Bt6WsLGHoNwCiq/k8ANjq/ZuDPWl1PPRYIfnPYHJqn5mQE4AtdR1Zjvt570 IGs/28Wa313MDvg7rfOz3nO9beyR/ZAznkIjRUFFSk9065ITNpdKk+sOJ8V0BPn0SIko Rk29A/wTa7vSwuLV315VhPnEsILHKPONY2m99rrksezy2z2bMwluWJUXYN2iqnMyGOMg 2qpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bqIemGKTDJhumlociM0DFRKMfWUWVF6Bw782H+1KOWA=; b=m3Wu1IP3sB4Y4pogKVfnDF8r4jIboKwshYfyrHbS39y5C3PQ2QV1/MSdSxGtPfucAg UIxepnVefnprrn5Q2CIwSMEu0pZ7cRwLafYXPkYdmyBV8+Hp/SdGDEbXJGPWIcZ98iut WXUrxiNJSEQ43dlASEOjo4EyDx+MFUT/j14LrllE6WAO6bYR+5M5S/qbDMho1Dy7q01T ReKxboX1+QXNlGuiovTXmYByA+TGCdP8Ywf0sWyk3KX2AG9Hcx8Yy8KYf3Brgt34SOwC NYI7l/pHVYSVQBILxseC1tl6980ztOAkJZaQQdFYVqSlP3/Awac9QR8s88dAv0A3NP/z 0lVQ== X-Gm-Message-State: AOAM530fgzl2FiV2W1yduTmGcULOU8OKXMrOBekTJbMyVQVc/Y9/svKC LVOK2fiirgkozEMFIjzsFqqGGe5tCxKoRaWx1cg= X-Google-Smtp-Source: ABdhPJxJKXVnj//BTB8RtlV1xqEz5p9ssMQVCRxb2t2Kw0oAEtCTsLbipoWNkoUvRL/n17BH5NM3gcjM3bsYSmvuVDE= X-Received: by 2002:aca:5d09:: with SMTP id r9mr5887207oib.25.1611823388447; Thu, 28 Jan 2021 00:43:08 -0800 (PST) MIME-Version: 1.0 References: <87wnvx1rn9.fsf@gnus.org> <87r1m5tqzm.fsf@gmail.com> <871re51nfs.fsf@gnus.org> In-Reply-To: <871re51nfs.fsf@gnus.org> From: Philipp Stephani Date: Thu, 28 Jan 2021 09:42:57 +0100 Message-ID: Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 40831 Cc: Robert Pluim , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Am Do., 28. Jan. 2021 um 09:21 Uhr schrieb Lars Ingebrigtsen : > > Robert Pluim writes: > > > Where's the X connection that emacs would use to create the graphical > > frame? It=CA=BCs the emacs server socket that=CA=BCs been forwarded. > > Yes, but the Emacs daemon and the display were both on machine 1, so > the display wouldn't need to be forwarded? > Correct, there's no X forwarding in the loop here. emacsclient -t also doesn't work right: It reuses an existing graphical frame on the first machine, rather than creating a new TTY frame, and it prints internal TRAMP status messages into the file buffer. emacsclient without either --create-frame or -t works fine (but doesn't create a frame). From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 04:44:00 2021 Received: (at 40831) by debbugs.gnu.org; 28 Jan 2021 09:44:00 +0000 Received: from localhost ([127.0.0.1]:47309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l53qK-0005Pv-9o for submit@debbugs.gnu.org; Thu, 28 Jan 2021 04:44:00 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:36819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l53qI-0005Pc-CH for 40831@debbugs.gnu.org; Thu, 28 Jan 2021 04:43:58 -0500 Received: by mail-wm1-f50.google.com with SMTP id i9so4034343wmq.1 for <40831@debbugs.gnu.org>; Thu, 28 Jan 2021 01:43:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=RKgM85fgJ+utSFDaeGAFQE7QjlBucPluf6ZwWdGG3Ns=; b=pjx94TF0p8VSn2R3zAzidZZETI1/r34BDdYxxj+D6bYe7NM+uaHQIdiRat1BO6mWfo y19Y0fMlFGqlcUiyJNfzaHFet1fnix+ny6U8mUYjX1mhH7vLI293Huf5Xh8U0OdYTNE8 4pRo8ADP6Sd6laSUnTTPLKrTRFbwgSo+RK9rXX5IdVekeRkUyKwCMbiJoiQWWAmoJXUt wm1f1asqbG7FkjhUz3uN3sq5Zi7ke4PRDn4Bexst6OM7xfAZKjXP7G+meTdHWNUt49KC 3FswonIxXTW+NgOxjoAGuY3q1N5qQCt5E1t7THTbmHOidb1+8zIi43k4gfA4fTUerKU6 uu+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=RKgM85fgJ+utSFDaeGAFQE7QjlBucPluf6ZwWdGG3Ns=; b=Q9NNahF07FqEaWTw8VKhMYW76Fw3HoQAASWLGVacxMVFwW6lxJdhE/xcmyckiixmbI ODdtwO/GrzpzSMJRT1uk7F1P0N4Dj0+noCNBKMlO8HWxBgAHG0iCLwqZ0NiR09UumKYj scXXSq37mi5c4KH7vKtiUD11/2ETLL4zP2EV6G2/L0Eqk9cyOumZCyB4OyZsYlU+xZBW j6s4vBzshZ06ZnKLtqjjRgPGsgAlaQRnjjFUinl3pGG+v7WFy+8MNO2/IMMxctn4oZ4J mYuWtO8K61LTaOnS7uk7KLN6ms4F1BjX1aq0AXdgVDcHzCF2KxFhYMO95Tfqiyu9cJ7w 7YBQ== X-Gm-Message-State: AOAM5313J8k18ifSEzDDNI6qAUbqEGCfscWUSZU9+iZuNOJUB4yY1+ME FlRCAlLagW7g+eQdyGdufYQTQNUcMNLYqg== X-Google-Smtp-Source: ABdhPJykNxUc4I7dpOj0paHKMBe329HiYbxevlyTQvXZAXd684M+MHeRIDsO0lpjzM37KnsLjYrSMA== X-Received: by 2002:a7b:c217:: with SMTP id x23mr8065409wmi.170.1611827032002; Thu, 28 Jan 2021 01:43:52 -0800 (PST) Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id r12sm6288725wrp.13.2021.01.28.01.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 01:43:51 -0800 (PST) From: Robert Pluim To: Philipp Stephani Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly References: <87wnvx1rn9.fsf@gnus.org> <87r1m5tqzm.fsf@gmail.com> <871re51nfs.fsf@gnus.org> Date: Thu, 28 Jan 2021 10:43:49 +0100 In-Reply-To: (Philipp Stephani's message of "Thu, 28 Jan 2021 09:42:57 +0100") Message-ID: <87mtwttmzu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40831 Cc: Lars Ingebrigtsen , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 28 Jan 2021 09:42:57 +0100, Philipp Stephani said: Philipp> Am Do., 28. Jan. 2021 um 09:21 Uhr schrieb Lars Ingebrigtsen <= larsi@gnus.org>: >>=20 >> Robert Pluim writes: >>=20 >> > Where's the X connection that emacs would use to create the graphi= cal >> > frame? It=CA=BCs the emacs server socket that=CA=BCs been forwarde= d. >>=20 >> Yes, but the Emacs daemon and the display were both on machine 1, so >> the display wouldn't need to be forwarded? >>=20 Yes, I was confused. Philipp> Correct, there's no X forwarding in the loop here. Philipp> emacsclient -t also doesn't work right: It reuses an existing Philipp> graphical frame on the first machine, rather than creating a n= ew TTY Philipp> frame, and it prints internal TRAMP status messages into the f= ile Philipp> buffer. Philipp> emacsclient without either --create-frame or -t works fine (but Philipp> doesn't create a frame). It all works fine for me, with one important caveat: I only have one Linux machine, so I=CA=BCm ssh'ing back to myself. I=CA=BCll see if I can r= ustle up a second one in the cloud somewhere. It fails for me when the remote machine is macOS with *ERROR*: Could not open file: /dev/ttys005 but I think that=CA=BCs a different bug. BTW, have you tried doing this with tcp sockets rather than ssh forwarded ones? Robert From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 14:44:05 2021 Received: (at 40831) by debbugs.gnu.org; 31 Jan 2021 19:44:05 +0000 Received: from localhost ([127.0.0.1]:58077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Idg-0004HA-6a for submit@debbugs.gnu.org; Sun, 31 Jan 2021 14:44:05 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:52875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Idc-0004GW-Pm for 40831@debbugs.gnu.org; Sun, 31 Jan 2021 14:44:02 -0500 Received: by mail-wm1-f50.google.com with SMTP id o5so1211748wmq.2 for <40831@debbugs.gnu.org>; Sun, 31 Jan 2021 11:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Pp1qHtDkaYlpdFGi2+F1Gm/w8Zn6O3tfrUH/Bmki1qw=; b=u8NHVD4j8PLJbsXDQ0YyZjlElm3ePR08ZOmjKtV4tvROi0Yf75zbpcL0Dpv6XkzI8E VXw1YiM5NuLPw7MCU5IpMC6FmCVtrEZYRn8z89QNjOGZSz37Z1fNh7f15krU03PFCnLw VnA7uG6TYz5fJttiw/dOVVEeBSLP6tFUZ/smKBdGHSl0D62jOjtEWoSfwhykHoLtlEp2 OyLvyFuDHKQeg4SSWUzJ/0XVzlPlHvibPWF4wENkpMq79hCTHT7m+L6Qlzmqc3L/GT50 NP8jDUqAWm1WNZTTn+RnVOJrNDVHdsU95oVLTr5Ij1QKQL/KS1DlA7oj1SOaCCP94N2Y pKtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Pp1qHtDkaYlpdFGi2+F1Gm/w8Zn6O3tfrUH/Bmki1qw=; b=GRcvAPATcqMDnfNZVaBpLVXZ/xUUojiIHhpdEVp8AATwI/iQuzpAMY+aI8uJbxS2U8 6Wd5mMNpAvQhuY2MmtsZD/KxltSA7JvFSK38M9HQBEv+xyyRrRboApWzaLg0zypR+l0t d7YYlwPx7/4zufXkLo3ED2mAv1QhmtjPrFueVxwUq3c6D92mBnItlMy0Is1O11n/dfUl dm4lr/dlwHSzeFK6psQDkiFAv79OxLuoO9TOgzaSREdcylmJbFj4XyO6vFXx/O3ixppZ QnJLXwZGfUXHT9jIN2r6ZOulDSOQjstSCmQNqb3+Shev2A4SijXCy2uhZRp0PHv8/Pj8 QQxQ== X-Gm-Message-State: AOAM530HH5H7Gk5EB2mhdjFlqQ9yDh1xx8zuSACY66LPeah5R3k3ekpg ZN0yEhXQ8C0R01euk2qBQeU= X-Google-Smtp-Source: ABdhPJwuPbD8NbJOtLbW7/prpTHO7nG/LRnvIHcoqjjYnhSPiAW77bki4o7eKptchcNbX98jwvtGmw== X-Received: by 2002:a05:600c:154f:: with SMTP id f15mr12306253wmg.46.1612122234726; Sun, 31 Jan 2021 11:43:54 -0800 (PST) Received: from philipps-mbp.fritz.box ([46.128.208.19]) by smtp.gmail.com with ESMTPSA id s24sm18734549wmh.22.2021.01.31.11.43.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Jan 2021 11:43:54 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly From: Philipp In-Reply-To: <87mtwttmzu.fsf@gmail.com> Date: Sun, 31 Jan 2021 20:43:53 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <10321F0C-E4F1-4B47-B374-E7E907B69D22@gmail.com> References: <87wnvx1rn9.fsf@gnus.org> <87r1m5tqzm.fsf@gmail.com> <871re51nfs.fsf@gnus.org> <87mtwttmzu.fsf@gmail.com> To: Robert Pluim X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 40831 Cc: Lars Ingebrigtsen , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) > Am 28.01.2021 um 10:43 schrieb Robert Pluim : >=20 >>>>>> On Thu, 28 Jan 2021 09:42:57 +0100, Philipp Stephani = said: >=20 > Philipp> Am Do., 28. Jan. 2021 um 09:21 Uhr schrieb Lars = Ingebrigtsen : >>>=20 >>> Robert Pluim writes: >>>=20 >>>> Where's the X connection that emacs would use to create the = graphical >>>> frame? It=CA=BCs the emacs server socket that=CA=BCs been = forwarded. >>>=20 >>> Yes, but the Emacs daemon and the display were both on machine 1, so >>> the display wouldn't need to be forwarded? >>>=20 >=20 > Yes, I was confused. >=20 > Philipp> Correct, there's no X forwarding in the loop here. >=20 > Philipp> emacsclient -t also doesn't work right: It reuses an = existing > Philipp> graphical frame on the first machine, rather than creating = a new TTY > Philipp> frame, and it prints internal TRAMP status messages into = the file > Philipp> buffer. >=20 > Philipp> emacsclient without either --create-frame or -t works fine = (but > Philipp> doesn't create a frame). >=20 > It all works fine for me, with one important caveat: I only have one > Linux machine, so I=CA=BCm ssh'ing back to myself. I=CA=BCll see if I = can rustle > up a second one in the cloud somewhere. Thanks! >=20 > It fails for me when the remote machine is macOS with >=20 > *ERROR*: Could not open file: /dev/ttys005 >=20 > but I think that=CA=BCs a different bug. Indeed, but probably also one worth reporting. >=20 > BTW, have you tried doing this with tcp sockets rather than ssh > forwarded ones? >=20 Not really (AFAIK there=E2=80=99s no way to secure them). From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 05:10:49 2021 Received: (at 40831) by debbugs.gnu.org; 1 Feb 2021 10:10:49 +0000 Received: from localhost ([127.0.0.1]:58934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6WAS-0004cW-L6 for submit@debbugs.gnu.org; Mon, 01 Feb 2021 05:10:49 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:52096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6WAP-0004cI-7h for 40831@debbugs.gnu.org; Mon, 01 Feb 2021 05:10:47 -0500 Received: by mail-wm1-f49.google.com with SMTP id m2so12098449wmm.1 for <40831@debbugs.gnu.org>; Mon, 01 Feb 2021 02:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=2/h4rmJFtv+kFH6MRyPvcjdkkct5x1tPDxp9DKv2cBk=; b=lBuWRWarBTPVYGvS4kqXGDeqirfNAIKPu2VYllmH5Itd5Qo3y1X8W4uLm6XuesEqJH KPP0cKarjW7xrnZ9tyxCoLipcVTeSyoPCdUbQh/nWC8saTKNxhhctH+J2bRTovnOInr8 hHTRZFmcesliF+2tighfZfFeV2PXozS26efNwg4U38sZr2+evbghnt+F4R+lAXkc8MdM etL/69ULIxXixiaFhq4cUQ2ZLrQO3HZv78/5dPtYdgolV2KdARWWPwQHLJMJ8UE19kpx q/ZJ7uK6HyRMNhfHHHpj3N7f7eJmFS2qzm4ZbtySsHl13hK0sjbgZE4To8W1dJ3uq3o+ CYrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=2/h4rmJFtv+kFH6MRyPvcjdkkct5x1tPDxp9DKv2cBk=; b=mkikdjUIDL5jr+5CPu//hhlOGI/TDElq6YrH5MLs/HjJI94TUBRAYAIrMwoZBZPgEx GEySmhLamwDL6k5N+Udo+su846EmTzxxW5ebZVlU3qSi+Jtbf5esbSWjSwwGtQwqOAL2 3d6nF9SBqlqOpTkBioCobBH3TRjmAw2lBwmQZprdRCfNe9Ourrh/2e1FqrXKSvOmHvye bB9cKqC9kFwy8L/nhpfpqCQ+uTsbnLYFvSGCct5Hq2uEamLb6Su1Vkc2NLeBQ9u+MNo6 kTj87c3Sx8nGQaeK99RlS7yruiE1Hf+YY40H5aRfmoPhxJpcORvMfq6y5TUzOQvi37FA SMWA== X-Gm-Message-State: AOAM533JMiep0Q+KKEsWv00EAPcKt2Ah6o3XYxpq0KP3jsIKgr0GxWH/ sw7r5BVKWZG1npF8wnC7GeLZsCEBuPeePQ== X-Google-Smtp-Source: ABdhPJxNYx6gOoM43bcHVlRVA9sKOB3aYkf8Fi1Kq0Ms2wxxg0HfFS4cNto5Xgnx4HHRjlN1va0npQ== X-Received: by 2002:a1c:f417:: with SMTP id z23mr13749768wma.29.1612174238920; Mon, 01 Feb 2021 02:10:38 -0800 (PST) Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id j15sm1393693wrw.9.2021.02.01.02.10.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 02:10:38 -0800 (PST) From: Robert Pluim To: Philipp Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly References: <87wnvx1rn9.fsf@gnus.org> <87r1m5tqzm.fsf@gmail.com> <871re51nfs.fsf@gnus.org> <87mtwttmzu.fsf@gmail.com> <10321F0C-E4F1-4B47-B374-E7E907B69D22@gmail.com> Date: Mon, 01 Feb 2021 11:10:35 +0100 In-Reply-To: <10321F0C-E4F1-4B47-B374-E7E907B69D22@gmail.com> (Philipp's message of "Sun, 31 Jan 2021 20:43:53 +0100") Message-ID: <87y2g8rtd0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40831 Cc: Lars Ingebrigtsen , 40831@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Sun, 31 Jan 2021 20:43:53 +0100, Philipp s= aid: Philipp> emacsclient -t also doesn't work right: It reuses an existing Philipp> graphical frame on the first machine, rather than creating a n= ew TTY Philipp> frame, and it prints internal TRAMP status messages into the f= ile Philipp> buffer. >>=20 Philipp> emacsclient without either --create-frame or -t works fine (but Philipp> doesn't create a frame). >>=20 >> It all works fine for me, with one important caveat: I only have one >> Linux machine, so I=CA=BCm ssh'ing back to myself. I=CA=BCll see if = I can rustle >> up a second one in the cloud somewhere. Philipp> Thanks! So I found one, and I see the same issues, although I don=CA=BCt get Tramp status messages in the buffer, but what looks like terminal control codes. >>=20 >> It fails for me when the remote machine is macOS with >>=20 >> *ERROR*: Could not open file: /dev/ttys005 >>=20 >> but I think that=CA=BCs a different bug. Philipp> Indeed, but probably also one worth reporting. Because of (reasons) I=CA=BCm not too enthusiastic about reporting and debugging issues involving macOS. >>=20 >> BTW, have you tried doing this with tcp sockets rather than ssh >> forwarded ones? >>=20 Philipp> Not really (AFAIK there=E2=80=99s no way to secure them). Depends what you mean by secure them. You can instruct server.el to listen on a tcp socket on localhost, and forward that using ssh. The server file contains an auth cookie that you'd need to copy to the remote host. Anyway, I=CA=BCve just tried it, and the failures are the same. I guess Someone=E2=84=A2 needs to step through server.el to figure out what's going= on. Robert