#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
#. /etc/X11/Xsession
xset -r
xset s off
xset -dpms
exec matchbox-window-manager -use_titlebar no -use_cursor no &
while true; do
    /6100/bin/gui
    if [ $? -eq 139 ]; then
        logger -t gui FATAL ERROR: SEGFAULT
        /6100/rc/pyclient set bool FatalSystemError 1
    fi
    sleep 3
done
