delorie.com/archives/browse.cgi | search |
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 <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <245684781.20120723050951@mtu-net.ru> |
To: | "Paul Maier" <svn-user AT web DOT de>, 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 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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\<Username>\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 "<Path>" --log-file "<Path>" > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |