This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: possible to run XWin as windows service?
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Cc: Paul Maier <svn-user at web dot de>
- Date: Fri, 27 Jul 2012 13:10:48 +0100
- Subject: Re: possible to run XWin as windows service?
- References: <006501cd6b7e$4edcffd0$ec96ff70$@de>
- Reply-to: cygwin-xfree <cygwin-xfree at cygwin dot com>
- Reply-to: cygwin-xfree at cygwin dot com
On 26/07/2012 23:30, Paul Maier wrote:
> 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?
Possible? Yes.
You can't run an arbitrary executable as a service, you need to use the cygwin
service wrapper cygrunsrv to make it respond to service control messages.
However, this is not the way to achieve what you want to do. Google "Allow
service to interact with desktop" to learn why...
Running it from the "Startup" program group is the correct approach.
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
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/