Black screen after logout

A strange problem…

If immediately after login I say “logout”
than immediately appears sddm-greater and I may login as another user.

But it is worth running at least one program (even Qterminal)
and after logout i get a black screen.

Helps only Alt+SysRq+REISUB

Sometimes it even happens REISUB+login=black screen.
and again REISUB.

Reboot always works correctly.


$ fastfetch --pipe
OS: Fedora Linux 38 x86_64
Host: Latitude 7280
Kernel: 6.3.12-200.fc38.x86_64
Uptime: 5 mins
Packages: 1640 (rpm), 3 (snap)
Shell: bash 5.2.15
Display: 1920x1080 @ 60Hz
WM: Openbox (X11)
Theme: Fusion [QT], Breeze [GTK2/3]
Icons: breeze [QT], breeze [GTK2/3]
Font: Sans (11pt) [QT], Sans (11pt) [GTK2/3]
Cursor: breeze (32px)
Terminal: qterminal 1.2.0
Terminal Font: Liberation Mono (11pt)
CPU: Intel(R) Core(TM) i7-7600U (4) @ 3.9 GHz
GPU: Intel HD Graphics 620
Memory: 627.94 MiB / 7.50 GiB (8%)
Disk (/): 8.91 GiB / 237 GiB (3%)
Battery: 71% [Discharging]
Locale: uk_UA.UTF-8

I see a similar problem. After logging out I sometimes don’t get a new sddm login. I’ve tried to but not been able to identify what triggers this. So I can’t explain why it happens, but I might have another tip.

When this happens, I don’t reboot the machine. Instead I switch to a different virtual console (Alt+F3), login as root and do the following commands:

  1. pkill -u my-username
  2. loginctl # Make note of the login session I was running
  3. loginctl terminalte-session session-id-from-above
  4. systemctl restart sddm

Often only the last step is actually required, but I like to clean up first.

Neither Alt+f3/4/5 nor Ctrl+Alt+f3/4/5 has any effect.
The screen remains black anyway.
Doesn’t even blink.

I found a solution against the black screen at login.

Create two LXQT hotkeys.

For first assign command
xrandr --otput eDP-1 --mode 1680x1050

For second
xrandr --otput eDP-1 --mode 1920x1080
(native resolution)

When after login my screen is black

press hotkey_1 - screen go alive at 1680x1050

then press hotkey_2 - screen switch to native resolution 1920x1080

That’s all