#!/bin/sh if [[ "$DISPLAY" ]] ; then if [ -e $HOME/.xinitrc ]; then echo "Starting User Default Xsession" . $HOME/.xinitrc else echo "Sorry no .xinitrc file found in your \$HOME directory." > /dev/console exit 1 fi else echo "Do not call xsession directly!" echo "xsession is meant to be called by WDM." fi