1.
I'm already add sleep 1|10|20 - no difference.
2.
>I'm curious what those first three lines are
For this three lines busybox(ash) == bash == POSIX shell.
exec >/home/tc/X.log
redirect standard output to file ~/X.log
exec 2>&1
redirect standard error to standard output, i.e. to file ~/X.log
About redirect see man bash, REDIRECTION, line 1590 (GNU bash, version 3.2.39(1)-release (i386-redhat-linux-gnu))
set -x
man bash, line 4380 (GNU bash, version 3.2.39(1)-release (i386-redhat-linux-gnu))
[.. skip ..]
-x After expanding each simple command, for command, case command, select command, or
arithmetic for command, display the expanded value of PS4, followed by the command
and its expanded arguments or associated word list.
[.. skip ..]
3.
.xsession work fine now
$ cat .xsession
exec >/home/tc/X.log
exec 2>&1
set -x
DESKTOP="$(awk '/wm:/{print $2}' .desktop)"
Xvesa -br -mouse /dev/psaux,5 -screen 1024x768x32 -shadow -nolisten tcp -I 2>&1 > /dev/null &
jwm&
#aterm&
xset +fp /usr/local/share/fonts/terminus
rc="$?";
echo "$0: xset return $?.";
n="`xlsfonts|grep terminus|wc|awk '{print($1)}'`";
echo "$0: founded Terminus fonts: $n."
#jwm
#aterm&
sleep 4294967295
Fonts added correct, if xset is AFTER jwm&|aterm&|...
Its a magic
!