I get the following error when I try to resume the only running screen session on a ubuntu machine (after sshing to it from my Mac OS X 10.9)
ubuntu@ip-10-252-164-249:~$ screen -r
Cannot find terminfo entry for 'xterm-new'
How can we fix this?
I get the following error when I try to resume the only running screen session on a ubuntu machine (after sshing to it from my Mac OS X 10.9)
ubuntu@ip-10-252-164-249:~$ screen -r
Cannot find terminfo entry for 'xterm-new'
How can we fix this?
It sounds as if $TERM is set on the OSX end of the connection, and passed through to the Ubuntu end. The workaround would be (on the Ubuntu end, and presuming you are using bash):
which would override $TERM when reattaching the screen session. You could of course do
depending on how you want to work with it.