xscreensaver or xsetroot) it is important to start them in the background (with &) so that the script doesn't wait until they're finished. .xinitrc is usually a window manager or a terminal emulator (such as xterm) is started in the foreground so that the script doesn't exit. /etc/X11/xinit/xinitrc.