I checked out and installed X.org CVS (22.214.171.1240) version. X won't start
1. the startx script contains a non POSIX-compliant arithmetic evaluation
2. the installed xprint init script uses arrays, which aren't present in
strictly POSIX-compliant shells
My /bin/sh is dash.
The first problem can be solved by a trivial patch:
--- programs/xinit/startx.cpp.orig 2005-07-26 01:19:06.000000000 +0200
+++ programs/xinit/startx.cpp 2005-09-14 11:27:09.000000000 +0200
@@ -183,7 +183,7 @@
xauth -q -f $xserverauthfile << EOF
add :$dummy . $authcookie
The second problem can be solved by specifying /bin/bash instead of
/bin/sh - however this assumes that bash is installed into the /bin
directory which might be false on non-Linux platforms.
Ubuntu bug about the first point:
I committed the fix to app/xinit/startx.cpp (but not monolithic
programs/xinit/startx.cpp) for the first problem.
remaining bug is against xprint
same for xdm scripts! :)
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.
Additionally, if this is a problem with xdm, please refile against xdm. Thank you.