When using ... [mak@host]$ xterm -version XFree86 3.3.3.1b(88b) and issuing the command "xterm -name AnyName" the resulting xterm title bar will momentarily show the desired name only to be overwritten with "mak@host:/home/mak". This problem started with RH6.2. Under RH6.1 using the same version of xterm, the xterm command operates as expected.
I had similar or maybe the same problem. Inside /etc/bashrc there is an escape sequence sent to xterm causing it to change its name. Try to comment out that line, it helped in my case.
yes, we consider this a feature rather than a bug. If you comment the following lines of /etc/bashrc: case $TERM in xterm*) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' ;; *) ;; esac You will have your old behaviour back.