From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly Date: Sun, 31 Jan 2021 20:43:53 +0100 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> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23386"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 40831@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 31 20:45:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6Ieo-0005yF-De for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jan 2021 20:45:14 +0100 Original-Received: from localhost ([::1]:59126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Ien-0007xr-FL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jan 2021 14:45:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Iec-0007xh-1D for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2021 14:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Ieb-0006AY-QR for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2021 14:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6Ieb-0004IW-OK for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2021 14:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2021 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40831 X-GNU-PR-Package: emacs Original-Received: via spool by 40831-submit@debbugs.gnu.org id=B40831.161212224516445 (code B ref 40831); Sun, 31 Jan 2021 19:45:01 +0000 Original-Received: (at 40831) by debbugs.gnu.org; 31 Jan 2021 19:44:05 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <87mtwttmzu.fsf@gmail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199032 Archived-At: > 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).