Such commands should not be added to your .bashrc
or shell initializations file(s). As said above, access your system and edit .bashrc and remove following line from it:
xterm -fg white -bg black
Then login again and create a new file with any custom name and add this command into that file. After that whenever you need to launch an xterm, your can source that file.