I have three Xterm windows open on my desktop. Two have an SSH session
running to another machine, the third is open on my machine. Whenever
my cursor moves in either direction between the third window and
either of the other two, I hear a beep. I do not hear it when moving
between the first two wi
I don't know exactly what would be causing this, but one step you
could look at to start would be to enable visual bell on your xterm
sessions. This would let you know which, if any, of the terminals are
generating the beep, allowing you to narrow things down a bit.
from https://tldp.org/HOWTO/Vis