GNU bug report logs - #40831
28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Fri, 24 Apr 2020 20:49:02 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 40831 <at> debbugs.gnu.org
Subject: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly
Date: Wed, 29 Apr 2020 16:23:42 +0200
>>>>> On Fri, 24 Apr 2020 22:48:17 +0200, Philipp Stephani <p.stephani2 <at> gmail.com> said:

    Philipp> This is unfortunately a bit hard to reproduce and probably depends 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.sock")' -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 --create-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ʼm amazed any of this even vaguely works over ssh forwarded
local sockets :-))

Roobert




This bug report was last modified 4 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.