This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Terminal Services session hung: csrss.exe doesn't exit if Cygwin was run in the session


What I guess I didn't explain clearly was that the MakeShare.sh script is
only on the 64-bit box.  

I'll double-check tomorrow on the 64-bit box by commenting out all the
non-cygwin-"native" commands, but your query incites curiosity:  should I be
calling Win32/Win64 binaries in a different (indirect?) manner from within
bash?  (Did I miss something in the docs?)

The 32-bit box has hung in exactly the same way using scripts that use only
cygwin-"native" binaries from packages like OpenSSH and Cygwin/X.  I've
attached that script here, which I run from a Windows shortcut that has a
command line of:
	"Y:\Program Files\cygwin\bin\run.exe" /bin/bash --login -c
"/usr/local/bin/LaunchX.sh"




-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of
Dave Korn
Sent: Monday, October 06, 2008 12:12 PM
To: cygwin@cygwin.com
Subject: RE: Terminal Services session hung: csrss.exe doesn't exit if
Cygwin was run in the session

EMF wrote on 05 October 2008 05:54:

> Is there anything else I can (or should have) provide(d) to help
> troubleshoot this?

  Well, the obvious test would be:

> I've encountered an issue running on Windows Server 2003,
> both 32-bit and 64-bit.  I can log in and out of Terminal
> Services sessions all day long if I don't start Cygwin,
> but if I start Cygwin and run, for example, the attached
> script (MakeShare.sh), then csrss.exe will hang when I log
> out, locking up the TS connection.

  What happens if you either don't run the script, or run the script but
comment out the two lines that invoke "bemcmd.exe"?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

Attachment: LaunchX.sh
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]