From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36185 invoked by alias); 18 Dec 2019 07:29:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 36116 invoked by uid 89); 18 Dec 2019 07:29:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=18.12.2019, 18122019, click X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Dec 2019 07:29:04 +0000 Received: from [192.168.178.45] ([95.91.242.212]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MkW10-1hyps232Ja-00m5de for ; Wed, 18 Dec 2019 08:29:00 +0100 Subject: Re: mintty window flashes open and immediately closes To: cygwin@cygwin.com References: <63aa80b6-5e37-9929-054a-7d852e0eed91@gmail.com> <00820caa-c15d-6197-24da-fae1780fc560@pdc.ca> <980c2aad-fb2a-b2cc-ac6c-c9072e1d4b1a@pdc.ca> From: Thomas Wolff Message-ID: <564a6053-798d-f0df-c967-816a60d4ed98@towo.net> Date: Wed, 18 Dec 2019 09:04:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <980c2aad-fb2a-b2cc-ac6c-c9072e1d4b1a@pdc.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00162.txt.bz2 Am 18.12.2019 um 01:55 schrieb Brent Epp: > This is interesting: I have a backup copy of my cygwin installation > from 2 days ago.  I restored it to another folder, made a shortcut... > and it works. > > I'll have to run some diffs to double-check, but I'm pretty certain > the only thing that's changed in the past two days is that I ran the > latest installer today to update. Which packages did you update? What are the versions, in the working previous version, of cygwin, mintty, and perhaps bash? > >  - Brent > > On 2019-12-17 17:36, Brent Epp wrote: >> Thanks, I should mention, I did try disabling my .bashrc file and >> actually my entire user directory... still didn't work. >> >> Also, mintty tells me neither of those options are valid? These are >> the options it tells me are available: https://i.imgur.com/vyMG9t6.png >> >> Also, just a correction to my original email, the shortcut was >> actually:`...mintty.exe -i /Cygwin-Terminal.ico -` >> >> The shortcut I previously stated was something I had done as a >> troubleshooting step and then pasted it into the email by mistake. >> >>  - Brent >> >> On 2019-12-17 17:17, René Berber wrote: >>> On 12/17/2019 2:58 PM, Brent Epp wrote: >>> >>>> I've been using cygwin for years with no problems.  I just updated >>>> cygwin again and I suddenly can't get into the terminal. When I click >>>> the cygwin icon, the window just flashes and immediately closes. >>>> >>>> What's interesting is that I have a number of cygwin/mintty shortcuts >>>> for SSH servers as `c:\path\to\cygwin\bin\mintty.exe /bin/ssh >>>> user@server.com`, which work just fine. I can also get in if I run >>>> `cygwin.bat` in `cmd`, `console2` or any other Windows command >>>> terminal. >>>> >>>> I've tried running the latest cygwin setup, reinstalling `mintty`, and >>>> the shortcut still fails. The shortcut is just the default target: >>>> `C:\path\to\cygwin\bin\mintty.exe /bin/bash --login -i` >>>> >>>> I don't know what else to try.  What happened here and how do I fix >>>> this? >>> Probably a problem with your bash init scripts. >>> >>> Try (for the shortcut): C:\cygwin64\bin\mintty.exe --noprofile --norc - >>> >>> If that works, then start spelunking those init files (.bashrc, >>> .profile, /etc/{profile,bash.bashrc}). >>> >>> BTW you don't need to call bash in the shortcut, mintty by default >>> opens >>> bash with those parameters; but the "-" at the end is required. >>> >>> HTH >> >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> >> > > > -- > Problem reports:       http://cygwin.com/problems.html > FAQ:                   http://cygwin.com/faq/ > Documentation:         http://cygwin.com/docs.html > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple