From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17003 invoked by alias); 20 Feb 2014 18:33:28 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 16902 invoked by uid 89); 20 Feb 2014 18:33:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_INFOUSME,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f41.google.com Received: from mail-la0-f41.google.com (HELO mail-la0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 20 Feb 2014 18:33:26 +0000 Received: by mail-la0-f41.google.com with SMTP id mc6so1618983lab.0 for ; Thu, 20 Feb 2014 10:33:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.113.3.43 with SMTP id bt11mr1913694lbd.92.1392921202813; Thu, 20 Feb 2014 10:33:22 -0800 (PST) Received: by 10.114.68.146 with HTTP; Thu, 20 Feb 2014 10:33:22 -0800 (PST) In-Reply-To: <53063FA4.5020806@gmail.com> References: <53063FA4.5020806@gmail.com> Date: Thu, 20 Feb 2014 18:33:00 -0000 Message-ID: Subject: Re: Problem with xterm-301-1 From: Jim Reisert AD1C To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00006.txt.bz2 On Thu, Feb 20, 2014 at 10:47 AM, Ola Str=F6mfors wrote: > After updating from 291-1 to 301-1 xterm starts /bin/sh instead of > my shell specified in /etc/passwd or in the SHELL environment variable. I saw the same thing, but only on my home computer running Windows 7 Pro 64-bit, not on my work laptop running Windows 7 Enterprise 64-bit. I start Xwin this way (i.e. same as Cygwin-X group in Start menu): C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe I don't know why SHELL defined as /bin/sh by default (my entry in the /etc/passwd file invokes bash). I could not find a way to change SHELL before XWin starts. One way I fixed it was to launch xterm from .XWinrc like this: "xterm" EXEC "xterm -e /bin/bash" instead of this: "xterm" EXEC "xterm -ls" --=20 Jim Reisert AD1C, , http://www.ad1c.us -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/