Subject: bug#36015: 26.2; Tramp fails with "Invalid base64 data".

From: Michael Albinus <[email-masked]>
Date: Fri, 31 May 2019 10:17:46 +0200

Asif <[email-masked]> writes:

Hi Asif,

> Procedure:
>
> C-x d
> /ssh2x11:USERNAME@HOSTNAME:/home/USERNAME/Projects/Koji/clearlinux/packages/systemd/results/
>
> g
> <Moved to the 5MB large file name.>
> RET
> <I get minibuffer message: Invalid base64 data>
>
> The same works perfectly for Emacs 25.2.2 Tramp: 2.2.13.25.2
> The same fails for Emacs: 26.2 Tramp: 2.3.5.26.2

First question: Could you try to reproduce it with "emacs -Q", and Tramp
method "ssh"?

> Tramp method used:
>
> ("ssh2x11"
>   (tramp-login-program "ssh")
>   (tramp-login-args
>    (("-2")
>     ("-vv")
>     ("-l" "%u")
>     ("-p" "%p")
>     ("%c")
>     ("-e" "none")
>     ("-X")
>     ("%h")))
>   (tramp-async-args
>    (("-q")))
>   (tramp-remote-shell "/bin/sh")
>   (tramp-remote-shell-login
>    ("-l"))
>   (tramp-remote-shell-args
>    ("-c"))
>   (tramp-gw-args
>    (("-o" "GlobalKnownHostsFile=/dev/null")
>     ("-o" "UserKnownHostsFile=/dev/null")
>     ("-o" "StrictHostKeyChecking=no")
>     ("-o" "ForwardX11=yes")))
>   (tramp-default-port 22))

tramp-gw-args do not exist any longer in Tramp 2.3 (Emacs 26), you can
remove them.

And you won't need your own method at all, if you declare "ForwardX11 yes"
in your ~/.ssh/config.

> Tramp debug capture:
>
> ;; Emacs: 26.2 Tramp: 2.3.5.26.2 -*- mode: outline; -*-
> ;; tramp-verbose 4

Well, this doesn't give sufficient information. I would like to have
tramp-verbose 6 at least (or tramp-verbose 10 for everything).

And maybe you send the debug buffer as attachmnet? This would keep its
structure, which is better for reading.

Best regards, Michael.