No response when switching users

Hi,

Anyone else facing this bug? Whenever I switch user, the PC screen turns into black and I it just stays black until I force restart it.

Video link

It might just take really really long on some hardware. I found that happened to me when I used the dragonized version, also on Lenovo.

2 Likes

The video is not accessible.
Post the output of

inxi -Faz
2 Likes

System: Kernel: 5.13.4-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=7e846613-3690-45c7-9ca7-83b0efaf0a5f
rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine: Type: Laptop System: LENOVO product: 20BV003SMN v: ThinkPad T450 serial: Chassis:
type: 10 serial:
Mobo: LENOVO model: 20BV003SMN v: SDK0J40705 WIN serial: UEFI-[Legacy]: LENOVO
v: JBET56WW (1.21 ) date: 01/27/2016
Battery: ID-1: BAT0 charge: 17.1 Wh (100.0%) condition: 17.1/23.5 Wh (72.7%) volts: 12.6 min: 11.4
model: LGC 45N1113 type: Li-ion serial: status: Full
ID-2: BAT1 charge: 20.1 Wh (100.0%) condition: 20.1/23.5 Wh (85.8%) volts: 12.6 min: 11.4
model: LGC 45N1127 type: Li-ion serial: status: Full
CPU: Info: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP arch: Broadwell family: 6
model-id: 3D (61) stepping: 4 microcode: 2F cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17559
Speed: 2195 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 2195 2: 2201 3: 2135 4: 2187
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 5500 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:1616 class-ID: 0300
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 2-8:5 chip-ID: 04f2:b449
class-ID: 0e02 serial:
Display: x11 server: X.Org 1.20.12 compositor: kwin_x11 driver: loaded: intel
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.7x9.4") s-diag: 485mm (19.1")
Monitor-1: eDP1 res: 1600x900 hz: 60 dpi: 131 size: 310x170mm (12.2x6.7") diag: 354mm (13.9")
OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.1.5 direct render: Yes
Audio: Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0 class-ID: 0403
Sound Server-1: ALSA v: k5.13.4-zen1-1-zen running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: no
Sound Server-4: PipeWire v: 0.3.32 running: yes
Network: Device-1: Intel Ethernet I218-V vendor: Lenovo driver: e1000e v: kernel port: 3080
bus-ID: 00:19.0 chip-ID: 8086:15a3 class-ID: 0200
IF: enp0s25 state: down mac:
Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: efa0 bus-ID: 03:00.0
chip-ID: 8086:095b class-ID: 0280
IF: wlp3s0 state: up mac:
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 2-7:4
chip-ID: 8087:0a2a class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 4 state: up address:
Drives: Local Storage: total: 238.47 GiB used: 25.7 GiB (10.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZ7LN256HCHP-000L7 size: 238.47 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial:
rev: 3L6Q scheme: MBR
Partition: ID-1: / raw-size: 238.47 GiB size: 238.47 GiB (100.00%) used: 25.7 GiB (10.8%) fs: btrfs
dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 238.47 GiB size: 238.47 GiB (100.00%) used: 25.7 GiB (10.8%) fs: btrfs
dev: /dev/sda1 maj-min: 8:1
ID-3: /var/log raw-size: 238.47 GiB size: 238.47 GiB (100.00%) used: 25.7 GiB (10.8%) fs: btrfs
dev: /dev/sda1 maj-min: 8:1
ID-4: /var/tmp raw-size: 238.47 GiB size: 238.47 GiB (100.00%) used: 25.7 GiB (10.8%) fs: btrfs
dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.33 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors: System Temperatures: cpu: 43.0 C mobo: N/A
Fan Speeds (RPM): fan-1: 0
Info: Processes: 254 Uptime: 16h 31m wakeups: 3 Memory: 15.34 GiB used: 4.81 GiB (31.3%)
Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages:
pacman: 1304 lib: 318 Shell: fish v: 3.3.1 running-in: konsole inxi: 3.3.05

Here is the link:

True, it takes long time cause I notice the power button is responding but after long time and the screen stays black!

Did you try to delete and re create the user? It could be a damaged desktop environment(Yeah dont know the words for this) basically the .config, etc files

I don't think the desktop environment is damaged cause it works fine after restart or other situations but only when I switch users and then choose this user again it gets bugged.

There maybe some misunderstanding.
What do you think it's Switching Users about?
Give more details on the procedure you follow and fails.

When I click Switch user and login into another user, the screen turns in black and takes long time to respond so the only thing I can do is to hold power button or wait for long time until it restart itself.
Check the provided video for more info.

When this happens, use loginctl to unlock or inspect status.
Usage: loginctl -h

How many users exist in your system? In what case would you want to use this switching functionality?
Why don't you log out and in normally?
Are you doing tests, or is a real world scenario?
I wouldn't like to assist you play and test... :face_with_raised_eyebrow:

2 Likes

It's not about testing, I do use this function for switching between my main account and quest. Moreover when u put the PC on sleep and starting it again, the only option u get is switch user.

This is the lock screen.
In my own testing, switching to another user works fine.

Check journal for errors or any unusual message

journalctl -b -p3
journalctl -b -u systemd-logind

Without logs or facts we cannot give any advice, or assume there is an issue.

1 Like

I tried to run this command loginctl but the konsole is not responding, tried to run konsole with shortcute too but no response only Garuda welcome is working.

-- Journal begins at Tue 2021-07-06 21:13:49 CEST, ends at Sun 2021-07-25 18:16:58 CEST. --
Jul 25 18:16:16 ATC kernel: ACPI Error: Needed type [Reference], found [Integer] 00000000a9812e29 (20210331/e>
Jul 25 18:16:16 ATC kernel: ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Store] (20210331/d>
Jul 25 18:16:16 ATC kernel: ACPI Error: Aborting method \_PR.CPU0._PDC due to previous error (AE_AML_OPERAND_>
Jul 25 18:16:17 ATC systemd-tmpfiles[385]: Failed to write file "/sys/module/pcie_aspm/parameters/policy": Op>
Jul 25 18:16:17 ATC kernel: Bluetooth: hci0: unexpected event for opcode 0xfc2f
Jul 25 18:16:25 ATC sddm-helper[3096]: gkr-pam: unable to locate daemon control file
Jul 25 18:16:30 ATC bluetoothd[432]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for>
Jul 25 18:16:38 ATC bluetoothd[432]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP rec>
lines 1-9/9 (END)

-- Journal begins at Tue 2021-07-06 21:13:49 CEST, ends at Sun 2021-07-25 18:19:51 CEST. --
Jul 25 18:16:17 ATC systemd[1]: Starting User Login Management...
Jul 25 18:16:18 ATC systemd-logind[442]: New seat seat0.
Jul 25 18:16:18 ATC systemd-logind[442]: Watching system buttons on /dev/input/event2 (Power Button)
Jul 25 18:16:18 ATC systemd-logind[442]: Watching system buttons on /dev/input/event0 (Lid Switch)
Jul 25 18:16:18 ATC systemd-logind[442]: Watching system buttons on /dev/input/event1 (Sleep Button)
Jul 25 18:16:18 ATC systemd-logind[442]: Watching system buttons on /dev/input/event4 (AT Translated Set 2 ke>
Jul 25 18:16:18 ATC systemd-logind[442]: Watching system buttons on /dev/input/event5 (ThinkPad Extra Buttons)
Jul 25 18:16:18 ATC systemd[1]: Started User Login Management.
Jul 25 18:16:19 ATC systemd-logind[442]: New session c1 of user sddm.
Jul 25 18:16:25 ATC systemd-logind[442]: New session 2 of user atc.
Jul 25 18:16:25 ATC systemd-logind[442]: Session c1 logged out. Waiting for processes to exit.
Jul 25 18:16:25 ATC systemd-logind[442]: Removed session c1.

How.

Did you try CTR+ALT+F3

4 Likes

Yeah it works.