When using Cygwin programs with a graphical ui like GTK, it is natural to think of launching them directly from a Windows shortcut. For example, one can launch the unison file synchronizer this way. These processes will not have CYGWIN set appropriately in their environment, unless CYGWIN is set as a Windows environment variable. For example, the presence of the "ntsec" flag is crucial to unison.
I believe the Cygwin documentation for setting up Cygwin (that is, http://cygwin.com/cygwin-ug-net/setup-env.html) ought to recommend that CYGWIN be set in the Windows environment (along with modification of PATH) for this reason. Another advantage of doing so is that one can then launch an interactive bash shell without the cygwin.bat file and its additional overhead. Simply create a shortcut directly to bash.exe with the arguments "--login -i". -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/