From fe0dbf69f996cf3d25934f7881828f63c5a590b8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 23 Jun 2009 15:52:20 +0000 Subject: * faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry. --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/faq-setup.xml | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 32039c9c5..5fbe0ab6d 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2009-06-23 Corinna Vinschen + + * faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry. + 2009-06-19 Corinna Vinschen * 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 9cf55cc1b..e2c2759d2 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. + +My installation on a Terminal Server machine goes wrong. What can I do? + + +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. + +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. + +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. + + + My Windows logon name has a space in it, will this cause problems? -- cgit v1.2.3