Skip to Content

Error opening terminal: xterm-256color.

Troubleshooting "Error opening terminal: xterm-256color" in Shell


Overview: This article describes troubleshooting the 'Error opening terminal: xterm-256color' issue in the shell.


Edit the file /etc/environment and append the lines as follows:

:~# vi /etc/environment

TERM=xterm-color


Related Articles

Ubuntu xterm Issue.