public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Paul Maier" <svn-user@web.de>
To: <cygwin@cygwin.com>
Cc: "'Andrey Repin'" <cygwin@cygwin.com>
Subject: AW: AW: problem with run.exe in Windows-startup (Autostart) directory
Date: Mon, 23 Jul 2012 19:49:00 -0000	[thread overview]
Message-ID: <005f01cd690b$fc5e07f0$f51a17d0$@de> (raw)
In-Reply-To: <245684781.20120723050951@mtu-net.ru>

> 
> > 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!
 


Hello Andrey,

thank you very much for your answer!


> Why not start it directly, then? [...] Do it!

What do you mean by "start directly" and "Do it"?:

- Do you mean that I should start the X Server manually every time I boot Windows?
  That certainly would work, but that's not a solution for me. I want the X Server to start automatically on Windows login.

- Or do you mean that I should register XWin as Windows service? I looked through the Cygwin manual, but I didn't find a solution
how to register XWin as Windows service.
  I also tried out; but these tree attempts don't work:


sc create testabc binpath= "D:\Programme\Alias\startx.bat" displayname= "testabc" start= demand

sc create testabc1 binpath= "D:\Programme\cygwin\bin\startxwin.exe -- /bin/XWin -clipboard -emulate3buttons 100 -nounixkill
-nowinkill -xkboptions nbsp:level3" displayname= "testabc1" start= demand

sc create testabc2 binpath= "D:\Programme\cygwin\bin\XWin.exe -clipboard -emulate3buttons 100 -nounixkill -nowinkill -xkboptions
nbsp:level3" displayname= "testabc2" start= demand


They all come with the same error message on startup:

sc start testabc2
[SC] StartService FEHLER 1053:
Der Dienst antwortete nicht rechtzeitig auf die Start- oder Steuerungsanforderung.


Thank you very much!

Regards,
  Paul



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

      reply	other threads:[~2012-07-23 19:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22  1:05 Paul Maier
2012-07-22 14:20 ` Andrey Repin
2012-07-22 16:08   ` AW: " Paul Maier
2012-07-23  1:20     ` Andrey Repin
2012-07-23 19:49       ` Paul Maier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005f01cd690b$fc5e07f0$f51a17d0$@de' \
    --to=svn-user@web.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).