How to give each xterm a unique title or color
You may be starting several instances of xterm for your rexec, rsh, or StarNetSSH X-Win32 sessions; if so, it can become difficult to tell the instances of xterm apart.
To better tell your xterm instances apart, you can set the window title, the background color, or both. Examples of how to do this are below.
Example command for rexec or rsh sessions
X-Win32 8 and later
xterm -ls -display@DISPLAY@ -T “my xterm title” -bg blue
X-Win32 7.1 and earlier
xterm -ls -display $DISPLAY -T “my xterm title” -bg blue
Example command for StarNetSSH sessions
xterm -ls -T “my xterm title” -bg blue
Additional named colors
There are more than 750 named colors in the rgb.txt file that ships with X-Win32 8 and later. Below is a sampling of the color names.
- blue, blue1 through blue4
- yellow, yellow1 through yellow4
- green, green1 through green4
- red, red1 through red4
- brown, brown1 through brown4
- gray0 (or grey0) through gray100 (or gray100)
See Also

Solutions