all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ethan <ethandbrown@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Tramp: how to set path to remote shell?
Date: Sat, 12 Mar 2011 12:37:00 -0800 (PST)	[thread overview]
Message-ID: <8315aace-c2c4-4efb-9d3a-a916b13071f2@d26g2000prn.googlegroups.com> (raw)

The path to my shell on my local machine is /bin/bash.  When
attempting to bring up a shell on the remote machine I get the error:

exec: /bin/bash: not found

Process shell<2> exited abnormally with code 127


It seems that tramp is using the path from my local machine as the
path on the remote machine.  The actual remote machine path for bash
is /usr/local/bin/bash.  Does anyone know which variable to set so
that tramp uses the correct path to bash on the remote machine?   I
did RTFM, but didn't find it.

Thanks.


             reply	other threads:[~2011-03-12 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 20:37 Ethan [this message]
2011-03-13  8:52 ` Tramp: how to set path to remote shell? Michael Albinus
2011-03-13 20:29   ` Ethan Brown
2011-03-14  9:59     ` Michael Albinus
2011-03-14 14:24       ` Ethan Brown

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=8315aace-c2c4-4efb-9d3a-a916b13071f2@d26g2000prn.googlegroups.com \
    --to=ethandbrown@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.