Need help starting an application when X starts

Jim Reisert AD1C via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CAK-n8j4G80=FLcMJXYGd9P8xJJMAiHAi2HeKuazxPp2j0-KVQw@mail.gmail.com>
I'm having trouble locating the correct file to create/modify that
will automatically start an X application when the Cygwin X server
starts.

Here is how I start the X server:

    D:\Cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec
/usr/bin/startxwin"

~/.xserverrc contains this:

    exec /usr/bin/XWin -notrayicon -noclipboard "$@"

I've tried putting the command in ~/.xsession, but it doesn't start:

    /usr/bin/xwinclip >& /dev/null &

I've tried copying the default .xinitrc to ~/.xinitrc and adding the
command at the end, but that doesn't work either.

What am I doing wrong?

-- 
Jim Reisert AD1C, <[email protected]>, https://ad1c.us

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.