possible to run XWin as windows service?

2012-07-26 Thread Paul Maier
Hi,

I would like to start XWin automatically on Windows startup (Windows user 
login).
I couldn't find any hint in the manual.

Is it possible to run (and automatically start) XWin as windows service?
I tried these attempts, but they don't work:

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

Regards,
  Paul



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: possible to run XWin as windows service?

2012-07-26 Thread Matt Seitz (matseitz)
 From: Paul Maier 
 I would like to start XWin automatically on Windows startup (Windows user
 login).
 I couldn't find any hint in the manual. 


How about just adding the XWin Server shortcut to the Startup program group?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/