Cannot open your terminal '/dev/pts/0'
Cannot open terminal '/dev/pts/0' - just execute this to get around it.
I encounter this often, I am logged in as a colleague on a server by jumping from my user and using sudo su <username>
. They use a lot of screens to manage processes and sometimes I need to access it. However a simple screen -x <id>
does not work:
Cannot open your terminal '/dev/pts/0' - please check.
Ooh you! Simple solution:
script /dev/null
Source: https://stackoverflow.com/questions/21328140/screen-cannot-open-your-terminal-dev-pts-0-please-check
Member discussion