--- startx.cpp.orig	2005-11-26 22:17:24.000000000 -0800
+++ startx.cpp	2005-11-26 22:18:49.000000000 -0800
@@ -208,7 +208,7 @@
 EOF
 	removelist="$displayname $removelist"
     else
-        dummy=$((dummy+1));
+        dummy=`expr $dummy + 1`
         XAUTH -q -f $xserverauthfile << EOF
 add :$dummy . $authcookie
 EOF
