X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Date: Mon, 23 Jul 2012 05:09:51 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <245684781.20120723050951@mtu-net.ru> To: "Paul Maier" , cygwin AT cygwin DOT com Subject: Re: AW: problem with run.exe in Windows-startup (Autostart) directory In-Reply-To: <000001cd6823$dd688110$98398330$@de> References: <005501cd67a5$b9938510$2cba8f30$@de> <636970302 DOT 20120722180536 AT mtu-net DOT ru> <000001cd6823$dd688110$98398330$@de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Greetings, Paul Maier! > With "scripts" I mean: > In the folder "C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\" > I have 2 files with ending .lnk. They are normal Windows links. In their execute line they have the following: > 1.) D:\Programme\cygwin\bin\run.exe /cygdrive/d/Programme/Subversion/bin/svnserve.exe -d -r "" --log-file "" > To work around the run.exe problem, I changed this one from "-d" to "--service" and run it as Windows service. That's not workaround, that's the right way to do it. > 2.) D:\Programme\cygwin\bin\run.exe /bin/tcsh.exe -c startx > And startx is an alias to: /bin/startxwin -- /bin/XWin Why not start it directly, then? It's not cygwin-specific, both are remote access services. Using intermediate scripts only blurring your picture, and taking more time for system to startup. I would understand, if you were using run-parts ~/profile.d/ kind of scripting, like me. But it seems it's not the case and all you want is to start certain application on startup. Do it! -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 23.07.2012, <05:03> Sorry for my terrible english... -- 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