From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3493 invoked by alias); 21 Feb 2016 20:35:34 -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 3481 invoked by uid 89); 21 Feb 2016 20:35:33 -0000 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 Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Feb 2016 20:35:32 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u1LKZUiI012417 for ; Sun, 21 Feb 2016 15:35:30 -0500 Received: from [192.168.1.4] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u1LKZTSg002291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 21 Feb 2016 15:35:30 -0500 From: Ken Brown Subject: startxwinrc To: cygwin Message-ID: <56CA1F9A.3010600@cornell.edu> Date: Sun, 21 Feb 2016 20:35:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00325.txt.bz2 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