From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60349 invoked by alias); 30 Nov 2015 17:47:59 -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 60335 invoked by uid 89); 30 Nov 2015 17:47:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f45.google.com Received: from mail-wm0-f45.google.com (HELO mail-wm0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 30 Nov 2015 17:47:57 +0000 Received: by wmww144 with SMTP id w144so140282478wmw.1 for ; Mon, 30 Nov 2015 09:47:54 -0800 (PST) X-Received: by 10.194.246.200 with SMTP id xy8mr58685827wjc.62.1448905674393; Mon, 30 Nov 2015 09:47:54 -0800 (PST) Received: from [192.168.0.5] ([90.221.202.87]) by smtp.googlemail.com with ESMTPSA id jt9sm48033059wjc.24.2015.11.30.09.47.53 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 09:47:53 -0800 (PST) From: Dave Kilroy X-Google-Original-From: Dave Kilroy Message-ID: <565C8BC9.4080500@gmail.com> Date: Mon, 30 Nov 2015 18:36:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: chere Bash Prompt Here window closes immediately References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-11/txt/msg00487.txt.bz2 On 23/10/2015 16:16, Matt Seitz (matseitz) wrote: > When I right click a folder in Windows Explorer and select > "Bash Prompt Here", a window opens briefly and then closes > immediately. If I select "Applications -> Xterm" from the > Cygwin/X Server tray icon, XTerm opens fine. > > Cygcheck and Xwin logs attached. Chere -lr output below. > > matseitz@MATSEITZ-WS02 ~ > $ chere -lr > --- bash keys --- > Directory menu item (all users) > &Bash Prompt Here > > Drive command (all users) > C:\cygwin64\bin\run.exe -p /usr/X11R6/bin C:\cygwin64\bin\xterm.exe -display %DISPLAY% -e /bin/xhere /bin/bash.exe "%L" I suspect this may be due to the use of %DISPLAY% (which I don't recall). I see that in your environment this is set to ":1.0" What happens if you run the following from cmd: cd c:\cygwin64\usr\x11r6\bin c:\cygwin64\bin\xterm.exe -display %DISPLAY% -e /bin/xhere /bin/bash.exe c: Is it any different if you run c:\cygwin64\bin\xterm.exe -display :1 -e /bin/xhere /bin/bash.exe c: or c:\cygwin64\bin\xterm.exe -display :0 -e /bin/xhere /bin/bash.exe c: Also, I presume the X server is already running? Dave. -- 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