Skip to content

Instantly share code, notes, and snippets.

@sjava
Forked from sv0/how-to-fix-tmux-fail.md
Created January 24, 2018 15:10
Show Gist options
  • Select an option

  • Save sjava/077be5d155779c291bb13c8ef396f0b6 to your computer and use it in GitHub Desktop.

Select an option

Save sjava/077be5d155779c291bb13c8ef396f0b6 to your computer and use it in GitHub Desktop.
If tmux fails with an 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 .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