so im doing ssh and ssh X forwarding between two machines. I use different color prompts for users and root and this command in .bashrc
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME} ${PWD}\007"'
so that the machine im working on is echoed in the title bar of the xterm im using.
On the vl6 machine, when logged in as root, the user appears as "root" in the title bar, when im logged in to the vl7 machine, the user appears as "vl70". How do i fix this? Where is the value of $USER being set to "vl70"?