how to change background color in xterm?
If you don't want to change your default, use command line arguments: xterm -bg blue -fg yellow. Setting xterm*background or xterm*foreground changes all xterm colors, including menus etc. To change it for the terminal area only, set xterm*vt100. background and xterm*vt100.