屏幕无法访问 pts/0 没有此文件或目录

屏幕无法访问 pts/0 没有此文件或目录

我希望脚本在 ssh 会话终止后继续运行。我没有服务器的 root 访问权限。我尝试了以下方法:

[email protected] [~/bit]# ls -la /var/run/screen/
drwxrwxrwx  4 root         screen       4096 2017-11-09 18:48 ./
drwxr-xr-x 26 root         root         4096 2017-11-17 17:25 ../
drwx------  2 autos autos 4096 2017-11-09 18:48 S-autos/
drwx------  2 root         root         4096 2017-10-24 03:06 S-root/

...

[email protected] [~/bit]# ls -la /var/run/screen/S-autos/
total 8
drwx------ 2 autos autos 4096 2017-11-09 18:48 ./
drwxrwxrwx 4 root         screen       4096 2017-11-09 18:48 ../

[email protected] [~/bit]# screen -d
There is no screen to be detached.

[email protected] [~/bit]# screen autos
Cannot access '11193dev/pts/0': No such file or directory

[email protected] [~/bit]# screen -S autos
Cannot access '11193dev/pts/0': No such file or directory

[email protected] [~/bit]# screen S-autos
Cannot access '11193dev/pts/0': No such file or directory

先感谢您。

相关内容