fbpx

How to Fix Cannot open your terminal ‘/dev/pts/2’ – please check

Normally we see a common error when we switch or sudo to a user to run the screen session and it gets closes with the error ‘Cannot open your terminal ‘/dev/pts/2′ – please check’. fix it very tiny but it took a long for me to find so I thought I will share the quick fix and save our prices time.

Error:

[thedbadmin@testdb01 ~]$ screen -x 12991.screen_testCannot open your terminal ‘/dev/pts/0’ – please check.[thedbadmin@testdb01 ~]$

Step 1: logout from the user that you have logged in.

Step 2: log as your user or from where you want to run screen and just give full privileged to /dev/pts/* 

Fix : 
$ chmod 777 /dev/pts/*

 

Note: if you get any warning or error after executing the above command,  just ignore it safely.

Now you can start the screen again hopefully you won’t see that error again

Happy programming !!!

How to fix centos full screen issue in Oracle VirtualBox

How to Fix CentOS Full-Screen Issue on Oracle Virtual Box

We install centos7 on top of Oracle VirtualBox and after even successful installation we don’t see the full-screen under Virtual machine the same like the following image.

 

This post has step by step workaround to get the full-screen Centos on the virtual box and you can also adjust the screen resolution once you are all set.

Read more