首页 > 技术文章 > screen 状态为Attached 连不上

Amos-Turing 2018-09-09 11:42 原文

用 screen -ls, 显式当前状态为Attached, 但当前没有用户登陆些会话。screen此时正常状态应该为(Detached)

此时用screen -r <session-id>,怎么也登不上。最后找到解决方法:screen -D  -r <session-id>

-D -r  先踢掉前一用户,再登陆。

推荐阅读