all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 41496@debbugs.gnu.org
Subject: bug#41496: 28.0.50; When accessing sshd via Tramp via Termux on Android: File error: Couldn't find a proper `ls' command
Date: Sun, 24 May 2020 19:27:53 +0300	[thread overview]
Message-ID: <20200524162753.GB1047@protected.rcdrun.com> (raw)
In-Reply-To: <878shhv0pq.fsf@gmx.de>

Hello Michael,

Thanks for helping.

* Michael Albinus <michael.albinus@gmx.de> [2020-05-24 17:59]:
> Jean Louis <bugs@gnu.support> writes:
> 
> Hi Jean,
>  
> >> I guess you need to add that directory to your remote PATH. See variable
> >> `tramp-remote-path'.
> >
> > Thank you, I did change that, and I still get the same error.
> >
> > If I start emacs -Q, then I can login, it works well, provided I have
> > changed that path.
> >
> > Do you know maybe how can I debug that? I need my Emacs settings and
> > with it, I get this same error.
> 
> Usually, you should bisect your ~/.emacs. That is, comment half of the
> settings, and check whether it works.
> 
> If it works, you know the problem is in the commented part, which you
> can bisect, again.
> 
> If it doesn't work, comment the other part of your ~/.emacs, and check
> again. And so on, until you know the problematic setting in your ~/.emacs.
> 
> > tramp-remote-path is a variable defined in ‘tramp-sh.el’.
> > Its value is
> > (tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin"
> > "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin"
> > "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin"
> > "/opt/bin" "/opt/sbin" "/opt/local/bin"
> > "/data/data/com.termux/files/usr/bin")
> 
> Maybe it is better to move "/data/data/com.termux/files/usr/bin to the
> begin of that list?

That did not work.

Now I found that I cannot login when `emacs -q' and I can only login
without problems when I am using `emacs -Q'

I have then removed the non existent site-start.el it was dangling
symbolic link, and then it started working with `emacs -q'

I will try bisecting, but I am not sure. Each time I need to kill the
ssh tramp process in background as well to debug what is wrong.

Jean





  reply	other threads:[~2020-05-24 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-24  5:33 bug#41496: 28.0.50; When accessing sshd via Tramp via Termux on Android: File error: Couldn't find a proper `ls' command Jean Louis
2020-05-24  8:48 ` Michael Albinus
2020-05-24 14:46   ` Jean Louis
2020-05-24 14:58     ` Michael Albinus
2020-05-24 16:27       ` Jean Louis [this message]
2020-05-24 17:14         ` Michael Albinus
2020-05-24 17:21           ` Jean Louis
2020-05-24 17:41             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200524162753.GB1047@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=41496@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.