使用screen恢复会话时出现There is no screen to be resumed matching错误

这里我新建的Screen为screen -S hxs

有时你会发现,在恢复Sreen的时候 screen -r hxs 会出现 There is no screen to be resumed matching ****,遇到这种情况咋办呢?

错误原因

这个问题常常出现在重新连接服务器时,即上次连接后没有主动断开连接(比如突然断网)。

解决方法

输入命令 screen -d hxs

然后再使用恢复命令恢复就 ok 了

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注