delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/06/00:25:01

X-Spam-Check-By: sourceware.org
Date: Fri, 6 Jan 2006 00:24:51 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: services not starting with 20060104 snapshot
In-Reply-To: <20060106051122.GA7778@trixie.casa.cgf.cx>
Message-ID: <Pine.GSO.4.63.0601060019120.9477@slinky.cs.nyu.edu>
References: <43BDB8B0 DOT 8070600 AT cygwin DOT com> <20060106005917 DOT GA1937 AT trixie DOT casa DOT cgf DOT cx> <43BDC7E5 DOT 1070809 AT cygwin DOT com> <20060106015259 DOT GC1937 AT trixie DOT casa DOT cgf DOT cx> <43BDCFCC DOT 2090305 AT cygwin DOT com> <20060106023407 DOT GE1937 AT trixie DOT casa DOT cgf DOT cx> <20060106025531 DOT GG1937 AT trixie DOT casa DOT cgf DOT cx> <43BDE36A DOT 9000903 AT cygwin DOT com> <43BDE61E DOT 1000103 AT cygwin DOT com> <43BDEC67 DOT 8050506 AT cygwin DOT com> <20060106051122 DOT GA7778 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

On Fri, 6 Jan 2006, Christopher Faylor wrote:

> On Thu, Jan 05, 2006 at 11:04:55PM -0500, Larry Hall (Cygwin) wrote:
> >Chris, you asleep?  Good.  No need to disturb a good night's sleep with
> >some bad news.
> >
> >I figured out why it didn't work for me the first time and why it did
> >after that.  I think I'm finally up-to-speed with what these two
> >competing blocks of code do to create this issue. ;-)  For all those
> >wondering (does anybody still have the strength to keep reading this
> >thread? ;-) ), the first time I tried it, sshd could not interact with
> >the desktop.  With Chris's patch and this switch off, I see no extra
> >consoles and no output from 'ssh localhost date'.  Turning on desktop
> >interaction for sshd and restarting the service, I see no extra
> >consoles and I get output from 'ssh localhost date'.  It's all so
> >obvious now. ;-)
> >
> >So there is still a problem (but a less than appetizing workaround).
>
> I'm still awake.  I'm trying to create a SP1 version of Win XP from an
> extra copy of XP that I have sitting around.

So much for getting some sleep tonight...

> I didn't anticipate that this would have different effects based on
> whether the service was allowed to interact with the desktop or not.  I
> may be able to work around that fact.

FWIW, I ran all my prior tests on services that didn't interact with the
desktop.  Changing the sshd service to interact with the desktop did
indeed pop up a console window when sshd asked for a password.

> The reason for ignoring the argument in set_console_state_for_spawn is
> that I think the CreateWindowStation function always has to be called
> regardless of whether it's a non-cygwin process or not.

Well, I'm willing to run some tests (it only takes about 6 minutes to
rebuild the DLL)... :-)  Let me know.
	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!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"


--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019