Error opening terminal: xterm-256color.

Keep getting the error  " Error opening terminal: xterm-256color." in  /home/{username}/ezsh.log in the shell while the gui works fine. 

edit the file /etc/environment and append lines as follows

vi /etc/environment



0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    ssh session logs recorded are blank or unable to view the ssh logs recorded though there is listing of the ssh sessions that is in progress.
    Viewed 1707 times since Fri, Mar 23, 2018
    strange characters in the SSH logs recordings
    Viewed 2060 times since Thu, Jun 15, 2017
    License cache outdated but its not time yet
    Viewed 1617 times since Wed, Jun 14, 2017
    Connection has been closed. Another user may have logged in on the remote windows machine
    Viewed 2231 times since Thu, Jun 15, 2017
    PHP extension ’mcrypt’ is required.
    Viewed 4169 times since Wed, Jun 14, 2017
    Can’t connect to local MySQL server through socket /tmp/mysql.sock
    Viewed 3749 times since Thu, Jun 15, 2017
    vi editor having issues while logged in via ezeelogin
    Viewed 1543 times since Wed, Jun 14, 2017
    Google Recaptcha shutdown issue
    Viewed 722 times since Tue, Jul 3, 2018
    Viewed 2159 times since Fri, Feb 2, 2018
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 1216 times since Fri, Aug 10, 2018