aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-06-23 15:52:20 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-06-23 15:52:20 +0000
commitfe0dbf69f996cf3d25934f7881828f63c5a590b8 (patch)
treeb281ec60ed21764a370c0a69e1f2281cd9f90dfd
parentbc4020d725dcb98c4245aedf09c3596f37017e49 (diff)
downloadnewlib-fe0dbf69f996cf3d25934f7881828f63c5a590b8.zip
newlib-fe0dbf69f996cf3d25934f7881828f63c5a590b8.tar.gz
newlib-fe0dbf69f996cf3d25934f7881828f63c5a590b8.tar.bz2
* faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry.
-rw-r--r--winsup/doc/ChangeLog4
-rw-r--r--winsup/doc/faq-setup.xml29
2 files changed, 33 insertions, 0 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 32039c9..5fbe0ab 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-23 Corinna Vinschen <corinna@vinschen.de>
+
+ * faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry.
+
2009-06-19 Corinna Vinschen <corinna@vinschen.de>
* new-features.sgml (ov-new1.7-misc): Add new link libs.
diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml
index 9cf55cc..e2c2759 100644
--- a/winsup/doc/faq-setup.xml
+++ b/winsup/doc/faq-setup.xml
@@ -318,6 +318,35 @@ what happened that wasn't supposed to happen, etc.
</para>
</answer></qandaentry>
+<qandaentry id="faq.setup.setup-failes-on-ts">
+<question><para>My installation on a Terminal Server machine goes wrong. What can I do?</para></question>
+<answer>
+
+<para>The problem is that Terminal Server machines do some compatibility
+checks when running applications which are not marked as
+"Terminal Server-aware", and this compatibility check seems to be buggy,
+leaving parts of the application in a non-executable state. Curious enough,
+this only happens if DEP (Data Execution Prevention) is turned on for
+all applications.</para>
+
+<para>So far, only few Cygwin packages have their binaries marked as
+TS-aware, which means there's a good chance that the postinstall scripts
+during the installation will break, and that after installation you
+can't start a shell, etc.</para>
+
+<para>So, for the time being, here's how you install Cygwin on a Terminal
+Server. First, switch DEP to "Turn on DEP for essential Windows programs
+and services only" and reboot the machine. Then install via setup.exe.
+You can leave it at that and run the Termin Server in the aforementioned
+DEP setting. Or use the peflags tool from the rebaseall package to set
+the TS-aware flag in all executables, switch DEP back to "Turn on DEP for
+all programs and services except [...]" and reboot again. However,
+please keep in mind that a package update might re-install a binary
+with the TS-aware flag switched off again. So you will have to re-use
+the peflags utility once in a while.
+</para>
+</answer></qandaentry>
+
<qandaentry id="faq.setup.name-with-space">
<question><para>My Windows logon name has a space in it, will this cause problems?</para></question>
<answer>