Mail Archives: cygwin/2007/08/14/11:36:00
On Tue, 14 Aug 2007, Rob Siklos wrote:
> Hi,
>
> 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
window...
> 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...
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
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
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -