#!/bin/sh
export DISPLAY=:0
export HOME=/root

if [ -f $XAUTHORITY ]; then
  TCOS_XORG_OPTS="$TCOS_XORG_OPTS -auth $XAUTHORITY"
fi

/sbin/tryXorg --xorgopts="${TCOS_XORG_OPTS}" &

waitforX
sleep 1

xterm  >> /tmp/initramfs.debug 2>&1 &
twm  >> /tmp/initramfs.debug 2>&1 &

# set background color
xsetroot -cursor_name left_ptr -solid "#338899"

