aboutsummaryrefslogtreecommitdiff
path: root/content/blog/miscellaneous/screen-cannot-open-terminal.md
blob: f687b66b3c409eb3f3390c39d39949c035441e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: "Screen cannot open terminal error"
date: 2018-07-03
description: How to fix a "Screen cannot open terminal" error
tags:
  - linux
  - toolbox
  - unix
---

## The problem

At my current workplace there are die hard screen fanatics that refuse to upgrade to tmux. Sometimes I get the following error :
```sh
Cannot open your terminal '/dev/pts/0' - please check.
```

## 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 : 
```sh
script /dev/null
```

In this new environment your screen commands will work normally.