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

使用screen命令的时候出现了下面的错误

Cannot open your terminal ‘/dev/pts/4‘ - please check.

可以使用script命令来记录这个终端会话,

执行script /dev/null

这样就可以使用screan来建立多个窗口,进行操作

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

时间: 2024-08-26 07:32:16

Cannot open your terminal '/dev/pts/4' - please check.的相关文章

解决screen Cannot open your terminal '/dev/pts/1'问题

转载于:http://urchin.blog.51cto.com/4356076/1153322 问题描述: userA首先登录系统,使用screen开启了一个session,然后detach这个窗口. userB然后登录系统,通过su - userA 变成userA,然后使用screen -r 恢复之前detached窗口,这时系统报如下错误: Cannot open your terminal '/dev/pts/1' - please check. 解决方法: userB在 su - us

/dev/tty /dev/pts

ps -ef|grep /dev/tty root 1019 1 0 May16 tty1 00:00:00 /sbin/mingetty /dev/tty1 root 1021 1 0 May16 tty2 00:00:00 /sbin/mingetty /dev/tty2 root 1023 1 0 May16 tty3 00:00:00 /sbin/mingetty /dev/tty3 root 1025 1 0 May16 tty4 00:00:00 /sbin/mingetty /de

linux screen 使用方法

使用中遇到的问题解决方法 刚开始使用screen时会报错,跟用户的权限相关. [[email protected] ~]$ screen Cannot open your terminal '/dev/pts/4' - please check. 解决方法是键入: script /dev/null 详细说明:http://urchin.blog.51cto.com/4356076/1153322/ 放一个传送门,screen的详细使用方法:http://www.ibm.com/developer

in a devstack Openstack env, how to start a service, such as aodh-listener

in terminal, when start the service, the service will run in this terminal, and if kill this terminal or command, this service will be killed. look up the other service, each service is running in a single pts. So should start a new pts and start thi

使用psutil模块获取电脑运行信息

psutil是python的一个用于获取cpu信息的模块,非常好使,以下附上官方的一些example: CPU-> Examples ? 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 26 27 28 29 30 31 >>> import psutil >>> psutil.cpu_times() scputimes(user=3961.46, nice=169.729, sy

python获取系统信息psutil

python获取系统信息psutil:psutil获取系统cpu使用率的方法是cpu_percent(),其有两个参数,分别是interval和percpu,interval指定的是计算cpu使用率的时间间隔,percpu则指定是选择总的使用率还是每个cpu的使用率. import psutil #cpu使用率 cpu=(str)(psutil.cpu_percent(1))+'%' #剩余内存.free 总共.total memory=str(psutil.virtual_memory().f

arch Linux(一)

制作启动盘 将U盘插入待装主机,设置U盘启动,重启进入系统安装界面 设置root密码 [email protected]~ # passwd 启动允许远程连接 [email protected]~ # systemctl start sshd 链接无线网络 [email protected]~ # wifi-menu 查看待装主机的IP地址 [email protected]~ # ip a 拿出MacBook我们使用远程安装 macOS:~ hhbsh$ ssh [email protecte

arch Linux(二)

配置你的基本系统 下列是基于该视频4:40s的流水- 切换到普通用户: [[email protected] ~]# su eric 查看系统信息: [[email protected] root]$ neofetch -` [email protected] .o+` ---------------- `ooo/ OS: Arch Linux x86_64 `+oooo: Host: IdeaPad Y460 Rev 1.0 `+oooooo: Kernel: 4.20.6-arch1-1-A

[fw]Linux下tty/pty/pts/ptmx详解

基本概念: 1> tty(终端设备的统称):tty一词源于Teletypes,或者teletypewriters,原来指的是电传打字机,是通过串行线用打印机键盘通过阅读和发送信息的东西,后来这东西被键盘与显示器取代,所以现在叫终端比较合适.终端是一种字符型设备,它有多种类型,通常使用tty来简称各种类型的终端设备. 2> pty(虚拟终端):但是如果我们远程telnet到主机或使用xterm时不也需要一个终端交互么?是的,这就是虚拟终端pty(pseudo-tty) 3> pts/ptm