BrainFrame Forum

The operating system is logged off after the client starts on Ubuntu18.04 | Ubuntu18.04 desktop版本客户端启动后操作系统注销了

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.

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

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

~/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)

I’m not sure what’s going on here. It sounds like there are maybe other issues that are occuring- perhaps the system is running out of memory? Even that shouldn’t cause a logout event.

@qilaoxi could you confirm - is the system ‘logging out’ or ‘shutting down’?

I am sure it “logging out”

Hmm… This may be an issue with gnome. Can you send me the results of the following commands, after the issue occurs?

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