check if startx exits on system before startx