The .xinitrc script typically runs sh.
The .xinitrc script typically starts up a number of applications in the background, and then starts and waits on a window manager..