[ESS] Hang when opening remote session

Gammel Holte g@mmel@holte @ending from gm@il@com
Tue Jul 10 20:08:50 CEST 2018


Hi,

I'm using ESS version 17.11 from MELPA (build 20180710.400) on Emacs 26.1,
Linux.

No configuration, just (use-package ess).

ESS hangs when I open a remote session. I first open a remote file at
/ssh:root using localhost#6000:/root/foo.r (this is an Docker container listening
on port 6000, but it shouldn't matter). That works fine.

Then I press C-c C-j to evaluate a line in foo.r and ESS tries to open a
remote session. It hangs showing this message on the minibuffer: "Decoding
remote file ‘/ssh:root using localhost#6000:/root/.Rhistory’ using ‘base64 -d -i
>%s’...done". Full message log below.

If I use the (semi-obsolete according to docs) method of running a shell
and ess-remote, it works. I should note local R is on
/run/current-system/sw/bin/R (which is also the value of
inferior-ess-r-program). Remote R in the container is on /usr/bin/R, if
this makes a difference.

Any ideas? Thanks.

Tramp: Inserting ‘/ssh:root using localhost#6000:/root/.Rhistory’...
Tramp: Encoding remote file ‘/ssh:root using localhost#6000:/root/.Rhistory’ with
‘base64 <%s’...done
Tramp: Decoding local file ‘/tmp/tramp.T6L3xV’ with
‘base64-decode-region’...done
Tramp: Inserting ‘/ssh:root using localhost#6000:/root/.Rhistory’...done
Tramp: Opening connection for root using localhost using ssh...
Tramp: Sending command ‘exec ssh -q -l root -p 6000 -o ControlMaster=auto
-o ControlPath='tramp.%C' -o ControlPersist=no -e none localhost’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘localhost’
Tramp: Opening connection for root using localhost using ssh...done
Tramp: Encoding local file ‘/tmp/tramp.rAJ6W7’ using
‘base64-encode-region’...done
Tramp: Decoding remote file ‘/ssh:root using localhost#6000:/root/.Rhistory’
using ‘base64 -d -i >%s’...done

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list