解决 screen 连接不上,提示“There is no screen to be resumed matching xxxx.” 的问题

7.49K 浏览技术资料
0

最近用上了甲骨文的免费VPS,发现Screen无法恢复,提示错误There is no screen to be resumed matching 18804.

解决的办法是加上D,如下:

[opc@wzfou-jp-0917 ~]$ screen -ls
There is a screen on:
        18804.pts-0.wzfou-jp-0917       (Attached)
1 Socket in /var/run/screen/S-opc.
 [opc@wzfou-jp-0917 ~]$ screen -r 18804
There is a screen on:
        18804.pts-0.wzfou-jp-0917       (Attached)
There is no screen to be resumed matching 18804.
[opc@wzfou-jp-0917 ~]$ screen -d 18804
[opc@wzfou-jp-0917 ~]$ screen -r 18804

分享到:
Qi 编辑问题 2019年9月18日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register