I checked out and installed X.org CVS (6.8.99.900) version. X won't start because: 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 @@ EOF removelist="$displayname $removelist" else - dummy=$((dummy+1)); + dummy=$(($dummy+1)); xauth -q -f $xserverauthfile << EOF add :$dummy . $authcookie EOF 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: https://launchpad.net/distros/ubuntu/+source/xinit/+bug/31241
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.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.