public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: Paul Maier <svn-user@web.de>
Subject: Re: possible to run XWin as windows service?
Date: Fri, 27 Jul 2012 12:19:00 -0000	[thread overview]
Message-ID: <50128548.4050107@dronecode.org.uk> (raw)
In-Reply-To: <006501cd6b7e$4edcffd0$ec96ff70$@de>

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/


  parent reply	other threads:[~2012-07-27 12:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 22:33 Paul Maier
2012-07-26 22:46 ` Matt Seitz (matseitz)
2012-07-27 12:19 ` Jon TURNEY [this message]
2012-07-28 12:18   ` AW: " Paul Maier
2012-07-28 12:58     ` Eliot Moss
2012-07-28 13:10       ` AW: " Paul Maier
2012-07-28 18:53         ` Eliot Moss
2012-08-06 13:07         ` Jon TURNEY
2012-07-28 18:48       ` Eliot Moss

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=50128548.4050107@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=svn-user@web.de \
    /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).