export DISPLAY=":0" X & while [ 1 ] do if [ -S /tmp/.X11-unix/X0 ] then break fi if [ $SECONDS -gt 15 ] then echo timeout exit 1 fi sleep 0.5 done stty -echo -echoctl -isig xterm -e "bash -l" & &> /usr/var/log/xtermstderr > /usr/var/log/xtermstdout exec fvwm3 &> /usr/var/log/fvwm3stderr > /usr/var/log/fvwm3stdout