This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Problem with xterm-301-1
- From: Jim Reisert AD1C <jjreisert at alum dot mit dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 20 Feb 2014 11:33:22 -0700
- Subject: Re: Problem with xterm-301-1
- Authentication-results: sourceware.org; auth=none
- References: <53063FA4 dot 5020806 at gmail dot com>
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, Feb 20, 2014 at 10:47 AM, Ola Strömfors 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"
--
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, 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/