This is the mail archive of the
mailing list for the Cygwin project.
Re: running a GUI app as a service with cygrunsrv
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Rob Siklos <rrr at siklos dot ca>
- Cc: cygwin at cygwin dot com
- Date: Tue, 14 Aug 2007 11:34:38 -0400 (EDT)
- Subject: Re: running a GUI app as a service with cygrunsrv
- References: <001f01c7de86$39414030$6901a8c0@Clarifica.local>
- Reply-to: cygwin at cygwin dot com
On Tue, 14 Aug 2007, Rob Siklos wrote:
> I've searched google, but couldn't readily find an answer to this.
> What happens if I have a GUI application that I install as a service
> (and set the startup type to Auto) with cygrunsrv. Is this supported?
> I'm hoping that the window info will just be thrown away, but the app
> will still run fine.
Unlikely. The app probably expects to be able to at least pop up a
> My problem is that I am trying to automate a connection to a VPN using
> the Cisco VPN Client. The client which I must use is a GUI application,
> but if the system reboots for some reason, I want the client to start
> even if nobody is there to log in.
I think you want the --interactive/-i flag to cygrunsrv. Note that this
requires you to run the service as SYSTEM, and, I believe, is no longer
supported on Win2k3 and Vista...
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html