Skip to content

Instantly share code, notes, and snippets.

@sv0
Last active February 20, 2022 18:51
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save sv0/0758bb21eb0a37013820b4cdf179fdea to your computer and use it in GitHub Desktop.
Save sv0/0758bb21eb0a37013820b4cdf179fdea to your computer and use it in GitHub Desktop.
How to fix tmux error "terminal open failed: missing or unsuitable terminal: rxvt-unicode-256color"

If tmux fails with an error terminal open failed: missing or unsuitable terminal: rxvt-unicode-256color

log in to your remote host and create .terminfo/r in your home directory:

mkdir -p ~/.terminfo/r

copy terminal information file to remote machine:

scp /usr/share/terminfo/r/rxvt-unicode* remote.host:~/.terminfo/r/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment