Log out after log in

Hello,

I’ve used Manjaro for some quite time now. In the last 2~3 weeks I started experiencing an issue. After using the computer all morning, I lock my screen and leave the computer in standby for some time (1 hour for example). When I come back, the screen is turned off and gets activated with a key press or mouse movement. I then login on my session and everything is normal for some seconds. The system then logs me out, terminating the session and sending me back to the login screen. After logging in again, I get a fresh new session.

This bothers me because I lose everything I had opened in the previous session. Not sure exactly what is causing it. I use a laptop but I have all the power options off while plugged in.

welcome to the forum! :slight_smile:

I’m afraid you are correlating three unrelated things. First of all, the fact that you have to enter your password to unlock the screen after you’ve left the keyboard unattended for a while is not a login. You are still logged in, but it is simply a screen locker.

Secondly, the phenomenon that follows later is not the system logging you out either, but instead it is your X11 session that’s crashing for some reason, and by default, the system will then try restarting the X11 server. Of course, that does mean that…

  • you are forcefully logged out (because your GUI session has committed suicide); and
  • you will have lost whatever it is you were working on.

So what we have to figure out here is what causes your desktop to crash. And that could be any number of things, including but not limited to third-party applications ─ including games.

Alas, given that our crystal ball is currently undergoing maintenance, only you know what it is that you were doing and what may have triggered that crash.

If you want us to help you fix the problem ─ if it is fixable ─ then you’re going to have to provide us with more information. For starters, you haven’t even mentioned what desktop environment you’re using. :man_shrugging:

:arrow_down:

Hello,

First of all, thank you for welcoming me with a useful post.

Correct, a screen locker instead of a logout login. I lock my screen, and I unlock it later, and then it crashes.

Thank you for explaining me that this is simply a crash of the X11. I’ll try to keep an eye on the logs next time it happens.

My mistake, in the hurry. I’m using XFCE 4.14. I’ll add more information when I’m able to

System:
Kernel: 5.7.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64
root=UUID=47f06001-04b5-44a4-8041-a802b1af2a20 rw quiet apparmor=1
security=apparmor resume=UUID=b8f131bf-3148-404d-b0da-8e79d81942d1
udev.log_priority=3
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Laptop System: ASUSTeK product: P2440UQ v: 1.0 serial:
Mobo: ASUSTeK model: P2440UQ v: 1.0 serial: UEFI: ASUSTeK
v: P2440UQ.305 date: 06/22/2017
Battery:
ID-1: BAT0 charge: 40.4 Wh condition: 40.4/48.2 Wh (84%) volts: 14.4/14.4
model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Not charging
cycles: 121
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial:
charge: 55% (should be ignored) rechargeable: yes status: Discharging
CPU:
Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP
arch: Amber Lake family: 6 model-id: 8E (142) stepping: 9 microcode: D6
L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 23209
Speed: 700 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 680 2: 680 3: 665
4: 689
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel HD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:5916
Device-2: NVIDIA GM108M [GeForce 940MX] vendor: ASUSTeK driver: nouveau
v: kernel bus ID: 01:00.0 chip ID: 10de:134d
Device-3: Realtek USB2.0 HD UVC WebCam type: USB driver: uvcvideo
bus ID: 1-5:2 chip ID: 0bda:58b3 serial:
Display: x11 server: X. Org 1.20.9 driver: intel,nouveau
unloaded: modesetting alternate: fbdev,nv,vesa display ID: :0.0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.0x11.3")
s-diag: 1055mm (41.6")
Monitor-1: DP1 res: 1920x1080 hz: 60 dpi: 92 size: 530x300mm (20.9x11.8")
diag: 609mm (24")
Monitor-2: HDMI2 res: 1920x1080 hz: 60 dpi: 92 size: 530x300mm (20.9x11.8")
diag: 609mm (24")
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.1.6
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus ID: 00:1f.3
chip ID: 8086:9d71
Sound Server: ALSA v: k5.7.19-2-MANJARO
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus ID: 02:00.0
chip ID: 10ec:8168
IF: enp2s0 state: down mac:
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: AzureWave driver: ath10k_pci v: kernel port: d000 bus ID: 03:00.0
chip ID: 168c:0042
IF: wlp3s0 state: up mac:
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
Local Storage: total: 476.94 GiB used: 218.83 GiB (45.9%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda vendor: SanDisk model: SD8SN8U512G1002 size: 476.94 GiB
block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial:
rev: 1002 scheme: GPT
Partition:
ID-1: / raw size: 321.95 GiB size: 315.90 GiB (98.12%)
used: 218.83 GiB (69.3%) fs: ext4 dev: /dev/sda7
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.00 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda6
Sensors:
System Temperatures: cpu: 43.0 C mobo: N/A
Fan Speeds (RPM): cpu: 3000
Info:
Processes: 256 Uptime: 2h 06m Memory: 11.59 GiB used: 4.27 GiB (36.8%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 clang: 10.0.1 Packages: 1416
pacman: 1388 lib: 397 flatpak: 7 snap: 21 Shell: Bash v: 5.0.18
running in: xfce4-terminal inxi: 3.1.05

What else should I add?

1 Like