From: Ken Brown <kbrown@cornell.edu>
To: cygwin <cygwin@cygwin.com>
Subject: startxwinrc
Date: Sun, 21 Feb 2016 20:35:00 -0000 [thread overview]
Message-ID: <56CA1F9A.3010600@cornell.edu> (raw)
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
reply other threads:[~2016-02-21 20:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56CA1F9A.3010600@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).