Ubuntu18.04 desktop版本客户端启动后操作系统注销了

存档自 BrainFrame 论坛。发布于 2020年6月29日。 8 条回复 · 925 次浏览

AOTU support

ubuntu18.04 desktop版本客户端启动后操作系统注了。服务器端也安装在同一个机器上,进入到客户端目录,执行 bash ./run_client.sh 后系统就注销登录了。
之前已经 执行过 install

The operating system is logged off after the client starts on Ubuntu18.04. The server is installed on the same machine. After entering the client directory and exec bash ./run_client.sh, the operating system is logged off.
The install command has been executed in advance.

AOTU support

请运行一下:
cat run_client.sh
docker-compose logs core > logs.txt

并提供上传一下系统日志。

AOTU support

~/v0_25_4_linux_client$ cat run_client.sh

#!/usr/bin/env bash
set -e  # Force bash to crash if there is an error

export GST_VAAPI_ALL_DRIVERS=1
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./libs

# Theming
export QT_QPA_PLATFORMTHEME=gtk2

# Check if running in ubuntu
. /etc/os-release
if [ $NAME == "Ubuntu" ]; then
    export GSETTINGS_SCHEMA_DIR=/usr/share/glib-2.0/schemas
fi

---------------------------以上是run_client.sh内容------------------------------
日志:
logs.txt (638.9 KB)

AOTU support

我不确定这里发生了什么。听起来可能还有其他问题——也许系统内存不足?不过即使是这样,也不应该导致注销事件。

@AOTU support 能否确认一下——系统是“注销”还是“关机”?

AOTU support

我确定是“注销”

AOTU support

嗯……这可能是 gnome 的问题。问题出现后,能否把下面命令的结果发给我?

journalctl /usr/bin/gnome-shell
journalctl /usr/bin/gnome-session
AOTU support
journalctl /usr/bin/gnome-shell
journalctl /usr/bin/gnome-session

logs 2.odt (22.3 KB)
这是输出结果

AOTU support

我猜这些日志的输出是从终端复制粘贴的,这会导致文本被截断。请改用下面的方式运行这些命令:

journalctl /usr/bin/gnome-shell > gnome-shell.txt
journalctl /usr/bin/gnome-session > gnome-session.txt

然后附上生成的 gnome-shell.txt 和 gnome-session.txt 文件。

AOTU support
journalctl /usr/bin/gnome-shell > gnome-shell.txt
journalctl /usr/bin/gnome-session > gnome-session.txt

给你。

另外他们在另一台 Windows 笔记本电脑上试着运行客户端,可以成功连接到 BF 服务端,但上传本地 mp4 视频文件后只显示“正在连接视频流”。
更多细节请查看 core_log.txt。

gnome-shell.txt (103.8 KB) gnome-session.txt (102 Bytes) core_logs.txt (3.4 KB)

© 2026 Aotu 版权所有 · 网站隐私声明
Built on 2026-10-10 00:24:09 UTC