On Thu, Jan 05, 2006 at 09:02:52PM -0500, Larry Hall (Cygwin) wrote: >Christopher Faylor wrote: >>On Thu, Jan 05, 2006 at 08:29:09PM -0500, Larry Hall (Cygwin) wrote: >> >>>Christopher Faylor wrote: >>> >>>>On Thu, Jan 05, 2006 at 07:24:16PM -0500, Larry Hall (Cygwin) wrote: >>>> >>>> >>>>>It appears your supposition is right. The first call to >>>>>CreateWindowStation() fails for me. Reason = "Access is denied". So >>>>>there is some weird permissions problem. I'll see if I can find >>>>>something... >>>> >>>> >>>>But, it didn't fail in the strace log that you sent me a couple of days >>>>ago. That seems pretty strange to me. >>> >>>Yeah, I'm with you. Maybe I'll try putting back the CreateWindowStation >>>call >>>to be what it was and make sure I can reproduce the desired behavior. >>>Yes, >>>a sanity check makes some sense to me at this point. :-) >> >> >>You have reinstalled cygwin at least 14 times, right? This is a really >>thorny problem so I think a whole bunch of reinstalls are called for. > >Yes, I think you're right. ;-) > >Actually, what I did find is that "ignoring" the problem of >CreateWindowStation failing like the code used to do solves the problem >for me. I have to review the path that brought us here a little more >to see what the CreateWindowStation() changes were supposed to fix. I've >forgotten now (if I ever really had a clear understanding ;-) ).
That was supposed to fix the problem of console windows appearing when the service is allowed to interact with the desktop. cgf -- 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/