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]

Cygwin shells exit immediately


This morning, when I first tried to run Cygwin by using my normal desktop shortcut, the window closed right away.
I found this slightly odd, because it had been working when I left yesterday, but I didn't think much of it.

I went into Setup and installed the newest versions of all packages.  (There was one problem, with one of the
icons packages' preremove scripts not working because cygwin1.dll was uninstalled at the time.)  Everything
seemed to work fine on the install and postinstall.

But I still could not get Cygwin to run from the desktop shortcut.  The window comes up, then exits right away.
I went into cmd.exe and tried running Cygwin.bat from there, but all it did was change the directory to
c:\Cygwin\bin.  I tried running "bash --login -i" directly, and it returned to the DOS command prompt
immediately.

Rxvt behaves much the same way.  I don't use it normally, but it came up, I saw a shell prompt briefly, and
then it exited.

If I run bash without any command-line parameters, the bash prompt comes up briefly, and then it returns
to the cmd.exe command line.  Similar behaviour for the other shells.

Does anyone have any idea why this might have stopped working?  As I said, I can't think of anything that
has changed between when I left yesterday and when I came in this morning.  Nobody else has logged on
to this computer.  Would a problem elsewhere on the network, with a mounted drive, cause the problem?
I'm running Windows XP here, on a Novell network.

It probably isn't the installation, because it first happened before I installed the new versions.  My current
cygcheck status is attached.  Let me know if any straces, setup logs, or the like would be useful.  (I did
rerun setup to reinstall the X icon package that had trouble the first time, so it's likely not that useful.)


--Aaron V. Humphrey
Kakari Systems Ltd.


Attachment: cygcheck.out
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]