Ubuntu 会话在不活动后丢失

Ubuntu 会话在不活动后丢失

我在笔记本电脑上运行 Ubuntu 18.04 LTS,过去几年它运行良好。最近我尝试了 vanilla gnome,我卸载了它并继续使用 Ubuntu 桌面,Tweaks 中提供了深色主题。最近,我的用户会话在一段时间不活动后无缘无故开始崩溃。没有重新启动。我出去散步,电脑开着,接通电源,回来后鼠标卡住了,在点击键盘几秒钟后,显示了 ubuntu 登录屏幕。所有打开的应用程序都消失了,会话丢失了,没有崩溃报告或警报。我应该如何找出问题?是否有特定的文件可以查找日志?

我可以在下面提供详细信息。谢谢!R

    System:    Host: HP Kernel: 5.4.0-70-generic x86_64 bits: 64 gcc: 7.5.0
           Desktop: Gnome 3.28.4 (Gtk 3.22.30-1ubuntu4) dm: gdm3 Distro: Ubuntu 18.04.5 LTS
Machine:   Device: laptop System: Hewlett-Packard product: HP EliteBook 840 G1 v: A3009DC10303 serial: N/A
           Mobo: Hewlett-Packard model: 198F v: KBC Version 15.59 serial: N/A
           BIOS: Hewlett-Packard v: L71 Ver. 01.47 date: 04/18/2019
           Chassis: type: 10 serial: N/A
Battery    BAT0: charge: 43.9 Wh 96.3% condition: 45.6/45.6 Wh (100%) volts: 12.5/11.2
           model: Hewlett-Packard Primary serial: <filter>status: N/A
CPU:       Dual core Intel Core i5-4300U (-MT-MCP-) arch: Haswell rev.1 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9977
           clock speeds: min/max: 800/2900 MHz 1: 1191 MHz 2: 1289 MHz 3: 1394 MHz 4: 1297 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:0a16
           Display Server: wayland (X.Org 1.19.6 ) driver: i915 Resolution: [email protected], [email protected]
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2)
           version: 4.5 Mesa 20.0.8 (compat-v: 3.0) Direct Render: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:9c20
           Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0a0c
           Sound: Advanced Linux Sound Architecture v: k5.4.0-70-generic
Network:   Card-1: Intel Ethernet Connection I218-LM
           driver: e1000e v: 3.2.6-k port: 3080 bus-ID: 00:19.0 chip-ID: 8086:155a
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 02:00.0 chip-ID: 8086:08b1
           IF: wlo1 state: up mac: <filter>
Drives:    HDD Total Size: 756.2GB (7.2% used)
           ID-1: /dev/sdb model: TS256GMTS400 size: 256.1GB serial: <filter> temp: 26C
           ID-2: /dev/sda model: HGST_HTS725050A7 size: 500.1GB serial: <filter> temp: 0C
Partition: ID-1: / size: 42G used: 27G (70%) fs: ext4 dev: /dev/sdb5
           ID-2: /home size: 49G used: 25G (53%) fs: ext4 dev: /dev/sdb6
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 46.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 296 Uptime: 6:20 Memory: 2650.3/15910.4MB Init: systemd v: 237 runlevel: 5 Gcc sys: 7.5.0
           Client: Shell (bash 4.4.201 running in gnome-terminal-) inxi: 2.3.56

相关内容