Below is a sample .xinitrc that starts a clock, several terminals, and
leaves the window manager running as the ``last'' application.
Assuming that the window manager has been configured properly, the user then
chooses the ``Exit'' menu item to shut down X.
xrdb -load $HOME/.Xresourcesref. main xinit
xsetroot -solid gray &
xclock -g 50x50-0+0 -bw 0 &
xload -g 50x50-50+0 -bw 0 &
xterm -g 80x24+0+0 &
xterm -g 80x24+0-0 &
twm
Leave a comment