delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/21/15:35:48

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:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=yB0
VJ+ZmEaHn5UgJS6p4FSRoW1BvgwACbzie0vkdDqkhEDV/rC15kaKQEEDIaBgRgTL
z6ovlYq5HGivJjbD3NkgvQ88cb5nN4sYKiCzsOxcmeCi0Ix+JBGa2VN5WK1L4m9h
Q2vXLOg/cTpkkAdwvrXdmsg7tNen0a9pRk0omvHs=
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:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=1ESCD6ifw
QiH8iDVQBsWE363QPY=; b=O8/ePm0Y2lqsFwCzB2gCWf1n082x5VvLY/YAsDjfd
xyzYFhA+ceWzcQYcMH+t3BwuyVa50e97n6TAOXfZoy5Lnn7H8XPaRu+2woveDwHo
V80ILM6nbfD4OCb8wqE8qV92Okh5XzI54B/mA9ovqEEiqCspbgifEA1gR8bFDa2w
cM=
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.4 required=5.0 tests=AWL,BAYES_20,KAM_ASCII_DIVIDERS,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:ip*192.168.1.4, H*RU:sk:cpe-67-, H*r:sk:cpe-67-, Hx-spam-relays-external:sk:cpe-67-
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
From: Ken Brown <kbrown AT cornell DOT edu>
Subject: startxwinrc
To: cygwin <cygwin AT cygwin DOT com>
Message-ID: <56CA1F9A.3010600@cornell.edu>
Date: Sun, 21 Feb 2016 15:35:38 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
X-IsSubscribed: yes

I'm puzzled by the following lines in /etc/X11/xinit/startxwinrc:

----------------------------------------------------------------------
# The user may have their own clients they want to run.  If they don't,
# fall back to system defaults.
if [ -f $HOME/.startxwinrc ] ; then
     exec $CK_XINIT_SESSION $SSH_AGENT $HOME/.startxwinrc || \
     exec $CK_XINIT_SESSION $SSH_AGENT $HOME/.startxwinrc
----------------------------------------------------------------------

If I'm reading /usr/bin/startxwin correctly, /etc/X11/xinit/startxwinrc 
only gets run if $HOME/.startxwinrc doesn't exist or exists but is not 
executable.  So the $SSH_AGENT command above only gets called in the 
latter case; but then it will fail because $HOME/.startxwinrc is not 
executable.

Am I missing something?

Ken

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