Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Envelope-From: debacle@debian.org
X-Authentication-Warning: einhorn.in-berlin.de: www-data set sender to debacle@debian.org using -f
Message-ID: <1089650455.40f2bf1761d8f@webmail.in-berlin.de>
Date: Mon, 12 Jul 2004 18:40:55 +0200
From: "W. Borgert" <debacle@debian.org>
To: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Cc: cygwin@cygwin.com
Subject: Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction
References: <1089641837.40f29d6d8ea25@webmail.in-berlin.de> <Pine.GSO.4.58.0407121139000.11227@slinky.cs.nyu.edu>
In-Reply-To: <Pine.GSO.4.58.0407121139000.11227@slinky.cs.nyu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.2
X-Scanned-By: MIMEDefang 2.41

Quoting Igor Pechtchanski <pechtcha@cs.nyu.edu>:
> On Mon, 12 Jul 2004, W. Borgert wrote:
> > I managed to telnet into my XP box using cygwin xinetd, but if I run
> > Python (not the cygwin variant, but the stock www.python.org
> > installer) I get no interaction at all.  Running the same Python
> > variant in the cygwin bash without telnet session, there is no
> > problem.  Is this a known limitation?  Did I do something wrong?  Do
> > I have to tweak the CYGWIN variable?  Many thanks in advance!
>
> A WAG: some Windows programs may require interaction with desktop, even
> for non-graphical tasks.  Check out the "-i" flag to cygrunsrv, or the
> "Allow service to interact with desktop" checkbox in the Windows service
> properties dialog.

Interesting guess, but I did not manage to run xinetd as a service.
Is there a way to run xinetd with "desktop interaction", but not as
a service?  As I started xinetd manually I thought that interaction
with the desktop would be allowed and possible.  Thanks for any hint!

Cheers, WB

P.S. My attempt to run xinetd as a service:

$ cygrunsrv -I xinetd -i -p /usr/sbin/xinetd.exe
$ cygrunsrv -S xinetd
$ cygrunsrv -Q xinetd
Service xinetd exists
Type                : Undefined type
Current State       : Stopped
Controls Accepted   :
$ 

If I start the service from the GUI it looks like it is started, but
some seconds later it is stopped again.  I would prefer to run xinetd
"manually" for now anyway.

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

