delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/30/12:48:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:message-id:date:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=Gh67oVz2BzHtwjVuxN9TUTMOkK1IpgmNh4dFJSr0xJu
vkPTqbFnjy/kZhuq4R80nJdWplM6YfVi9SFM/k9eQ7g5mc4UtRx3yVDvZpqNsQkt
HCoRryeHxOvilRECwAoklYoHvwcXY832JJ7xc7qrHLdABAtrBRQy1tyWO0iW0Oqk
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:message-id:date:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=JDwk5drVAN540Y6jwliDGEuR8CU=; b=mKmAIgcGFxY7478u+
HCtnkxUqnwt57zx1EHERH8MRssYSeJ5z2FlYRhmK3yKKatOBG3qeqO2qquMuqEBD
D0USaD57YnhbRNF82qeEG03xgh8VwT2sNzuj8OZvGqC40HTaU4NIXyhzhqbHubxS
VznTV7G7AVzx46anBunpZyww64=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
X-Received: by 10.194.246.200 with SMTP id xy8mr58685827wjc.62.1448905674393; Mon, 30 Nov 2015 09:47:54 -0800 (PST)
From: Dave Kilroy <kilroyd AT googlemail DOT com>
X-Google-Original-From: Dave Kilroy <kilroyd AT gmail DOT com>
Message-ID: <565C8BC9.4080500@gmail.com>
Date: Mon, 30 Nov 2015 17:47:53 +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 AT cygwin DOT com
Subject: Re: chere Bash Prompt Here window closes immediately
References: <d55704f593cc404199eee16770d2fd49 AT XCH-RCD-019 DOT cisco DOT com>
In-Reply-To: <d55704f593cc404199eee16770d2fd49@XCH-RCD-019.cisco.com>

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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019