Thoughts, ideas, ramblings. Covering a wide range of topics from Windows to Linux, Azure, hardware, software & more.
Search

Using screen after su: Cannot open your terminal

If you try to use screen after using su to switch user you might get the following message;

Cannot open your terminal '/dev/pts/0' - please check.

Rather than adjusting permissions of /dev/pts/0, simply run the following before screen;

script /dev/null

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *