Sometimes when you are trying to open a screen you might face the following error message:
Cannot open your terminal ‘/dev/pts/\d+’ – please check
There are 2 options to solve this:
- Sign out and properly connect / sign in as the user you wish to use.
- Run
script /dev/null
to own the shell (more info over at Server Fault); then tryscreen
again.
it worked, thanks!