From ed8e2b9e9ed67097d4fdc7913df1c6cd2d96d3f7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 12 Mar 2021 18:12:41 +0100 Subject: Some more articles reformatting --- .../blog/miscellaneous/screen-cannot-open-terminal.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'content/blog/miscellaneous/screen-cannot-open-terminal.md') diff --git a/content/blog/miscellaneous/screen-cannot-open-terminal.md b/content/blog/miscellaneous/screen-cannot-open-terminal.md index 7622191..5584538 100644 --- a/content/blog/miscellaneous/screen-cannot-open-terminal.md +++ b/content/blog/miscellaneous/screen-cannot-open-terminal.md @@ -1,17 +1,24 @@ --- title: "Screen cannot open terminal error" -linkTitle: "Screen cannot open terminal error" date: 2018-07-03 -description: > - Screen cannot open terminal error +description: How to fix a "Screen cannot open terminal" error +tags: + - toolbox + - unix --- -If you encounter : +## The problem + +At my current workplace there are die hard screen fanatics that refuse to upgrade to tmux. Sometimes I get the following error : {{< highlight sh >}} Cannot open your terminal '/dev/pts/0' - please check. {{< /highlight >}} -Then you did not open the shell with the user you logged in with. You can make screen happy by running : +## The solution + +This error means that you did not open the shell with the user you logged in with. You can make screen happy by running : {{< highlight sh >}} script /dev/null {{< /highlight >}} + +In this new environment your screen commands will work normally. -- cgit v1.2.3