The operating system is logged off after the client starts on Ubuntu18.04

Archived from the BrainFrame forum. Posted Jun 29, 2020. 8 replies · 925 views Translated into English from the original Chinese posts. Read the original

AOTU support

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

Please run:
cat run_client.sh
docker-compose logs core > logs.txt

and upload the system logs.

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

--------------------------- The above is the content of run_client.sh ------------------------------
Logs:
logs.txt (638.9 KB)

AOTU support

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.

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

AOTU support

I am sure it “logging out”

AOTU support

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
AOTU support
journalctl /usr/bin/gnome-shell
journalctl /usr/bin/gnome-session

logs 2.odt (22.3 KB)
Here is the print of results

AOTU support

I assume the output of these logs was copied and pasted from the terminal, which causes the text to get cut off. Try running the commands like this instead:

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

and then attach the resulting gnome-shell.txt and gnome-session.txt files.

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

Here you are.

And they tried running the client on another windows laptop, it connected to the BF server successfully, but it was only showing connecting stream after uploaded a local mp4 video file.
More detail, check the core_log.txt, please.

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