public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* startxwinrc
@ 2016-02-21 20:35 Ken Brown
  0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2016-02-21 20:35 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-21 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-21 20:35 startxwinrc Ken Brown

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