From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2066 invoked by alias); 7 Mar 2014 22:04:01 -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 2057 invoked by uid 89); 7 Mar 2014 22:04:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: stargate.mehconsulting.com Received: from stargate.mehconsulting.com (HELO stargate.mehconsulting.com) (65.78.188.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 07 Mar 2014 22:04:00 +0000 Received: from [192.168.120.76] (vpn.fdielt.com [64.170.21.194]) (authenticated bits=0) by stargate.mehconsulting.com (8.13.8/8.13.8) with ESMTP id s27M3wjY005431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 7 Mar 2014 14:03:58 -0800 Message-ID: <531A424D.5000204@winfirst.com> Date: Fri, 07 Mar 2014 22:04:00 -0000 From: Mark Hansen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Problem launching XTerm on new Cygwin installation References: <531A24A0.7010400@winfirst.com> <20140307214954.GA4187@aerie.jexium-island.net> In-Reply-To: <20140307214954.GA4187@aerie.jexium-island.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00009.txt.bz2 On 3/7/2014 1:49 PM, Thomas Dickey wrote: > On Fri, Mar 07, 2014 at 11:57:20AM -0800, Mark Hansen wrote: >> I just installed the 64-bit version of Cygwin on both a desktop PC and a laptop PC. >> On the desktop, everything worked as expected without problems. On the laptop, I >> have the following problems: >> >> When I launch a shell window, I get the following error: >> >> Your group is currently "mkgroup". This indicates that neither your gid nor your pgsid is in /etc/group. > > (I don't know about this one) > >> Also, when I try to launch an XTerm, I get the following message in the XTerm window for >> just a few seconds and then the window goes away: >> >> /cygdrive/c/Apps/cygwin/bin/xterm: Could not exec XTERM_SHELL=XTERM_SHELL=: No such file or directory > > yes, that's a bug which surfaced in #301, thought it was gone in #302, and _should_ be gone in #303 > (from yesterday) > >> I'm starting the XWin Server using a shortcut with the following: >> >> C:\Apps\cygwin\bin\run.exe >> /usr/bin/bash.exe -l -c >> "/usr/bin/startxwin.exe -- -emulate3buttons -multiwindow -clipboard -swcursor" >> >> I'm starting the XTerm using a shortcut with the following: >> >> C:\Apps\cygwin\bin\run.exe >> -p /usr/X11R6/bin xterm +tb -sb -sl 5000 -display 127.0.0.1:0.0 -ls /bin/zsh -l > > I'd try putting "-e" before the "/bin/zsh", which moves it away from the bug noted. > (actually, the trailing "-l" doesn't look right either) Thanks. I think the -l was to cause a login shell, but I see now that is what the -ls argument does. Since I removed the shell argument ("/bin/zsh -l") it is now working. I'm getting the shell I want, I suspect, because that is the shell mentioned in the /etc/passwd file for my user. As a result, it is working so I'll leave it alone. > > fwiw, when I compile #301, #302 and #303 for Cygwin, I don't see the bug. > However, I was able to analyze it on Linux with valgrind... Well, I downloaded the Cygwin installation for my desktop last week, and downloaded the Cygwin for my laptop yesterday. I guess the bug could have been introduced between those times? Thanks for your help! -- 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/