我有一个通过screen
.
我可以确认游戏服务器正在运行,我可以用客户端连接到它,并ps faux
给我这个输出:
steam 10111 0.0 0.0 127904 3028 ? Ss Jul09 0:00 SCREEN
steam 10112 0.0 0.0 115444 3548 pts/2 Ss Jul09 0:00 \_ /bin/bash
steam 16558 0.0 0.0 113180 2700 pts/2 S+ Jul09 0:00 \_ /bin/bash ./avorionsrv.sh
steam 16564 4.1 5.7 2276908 944748 pts/2 Sl+ Jul09 234:32 \_ ./bin/AvorionServer --gala[...]
Run Code Online (Sandbox Code Playgroud)
但是,我无法重新附加到该屏幕会话(它是由“steam”用户启动的):
[steam@atlantis ~]$ screen -r
There is no screen to be resumed.
Run Code Online (Sandbox Code Playgroud)
并尝试获取屏幕列表会产生“未找到套接字”
[steam@atlantis ~]$ screen -ls
No Sockets found in /var/run/screen/S-steam.
Run Code Online (Sandbox Code Playgroud)
root 用户 …