Check if xterm is available