From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13872 invoked by alias); 23 Jul 2012 01:20:40 -0000 Received: (qmail 13864 invoked by uid 22791); 23 Jul 2012 01:20:39 -0000 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 Received: from mr0.ht-systems.ru (HELO mr0.ht-systems.ru) (78.110.50.55) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Jul 2012 01:20:21 +0000 Received: from [91.76.233.97] (helo=darkdragon.lan) by mr0.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1St7JY-0007v3-Lx; Mon, 23 Jul 2012 05:20:00 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 23 Jul 2012 01:09:51 -0000 Date: Mon, 23 Jul 2012 01:20:00 -0000 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <245684781.20120723050951@mtu-net.ru> To: "Paul Maier" , cygwin@cygwin.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.20120722180536@mtu-net.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@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 X-SW-Source: 2012-07/txt/msg00493.txt.bz2 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@freemail.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