Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <007001c24ffc$badc5530$8995a8c0@spc34w2k>
From: c.montanari@ste.sharp.co.uk (Christian Montanari)
To: <cygwin@cygwin.com>
Subject: remote login application failed to initialize properly
Date: Fri, 30 Aug 2002 09:10:39 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id g7U8CFD24273

Hello All,

I have got a problem with remote login (windoze2000):

just finished password authentication but at start of executing the would receive:
"
Application popup: bash.exe - Application Error : The application failed to initialize properly (0xc0000022). Click on OK to terminate the application
"

It could be any odd application by the way.. I even tried strace.exe.


It is after this call in login.c:main(){}, 
from  @(#)login.c 5.32.1.1 (Berkeley) 1/28/89, 1.4-2 (Cygwin) 5/15/2001";@(#)login.c 5.32.1.1 (Berkeley) 1/28/89, 1.4-2 (Cygwin) 5/15/2001":


....
 (void)signal(SIGALRM, SIG_DFL);
 (void)signal(SIGQUIT, SIG_DFL);
 (void)signal(SIGINT, SIG_DFL);
 (void)signal(SIGTSTP, SIG_IGN);

 tbuf[0] = '-';
 strcpy(tbuf + 1, (p = rindex(pwd->pw_shell, '/')) ?
     p + 1 : pwd->pw_shell);
  execlp(pwd->pw_shell, tbuf, 0);
....



Please can somebody kindly help me  and direct me to the information for setting a proper config to start remote applications?


Cheers,

Christian Montanari.
