ps | grep tty1 &> /dev/null
if [ $? = 0 ]; then
	startx
fi
