From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ethan Newsgroups: gmane.emacs.help Subject: Tramp: how to set path to remote shell? Date: Sat, 12 Mar 2011 12:37:00 -0800 (PST) Organization: http://groups.google.com Message-ID: <8315aace-c2c4-4efb-9d3a-a916b13071f2@d26g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1299990327 26017 80.91.229.12 (13 Mar 2011 04:25:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2011 04:25:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 13 05:25:23 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pycrq-0005aR-AC for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Mar 2011 05:25:22 +0100 Original-Received: from localhost ([127.0.0.1]:49840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pycrp-0006xZ-GR for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Mar 2011 23:25:21 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!d26g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 72.197.232.169 Original-X-Trace: posting.google.com 1299962221 5738 127.0.0.1 (12 Mar 2011 20:37:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 12 Mar 2011 20:37:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d26g2000prn.googlegroups.com; posting-host=72.197.232.169; posting-account=Zw1JhwoAAACna-qux6oxhtOCzcL7_KqA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:185894 X-Mailman-Approved-At: Sat, 12 Mar 2011 23:24:26 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80050 Archived-At: 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.