Bugzilla – Bug 1200436
Plasma wayland: regular login works, autologin does not work
Last modified: 2024-06-28 06:34:48 UTC
I can't start wayland by automatic login. The KDE boot splash comes up briefly and then I end up in the command line. Without autologin the wayland session works! I have set this in the KDE settings (System Settings > Startup and Shutdown > Login Screen (SDDM). /var/log/messages: 13714:2022-06-10T21:29:46.212919+02:00 localhost sddm[1373]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop" 13726:2022-06-10T21:29:46.212943+02:00 localhost sddm[1373]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop" 13728:2022-06-10T21:29:46.212962+02:00 localhost sddm[1373]: Session "/usr/share/wayland-sessions/plasmawayland.desktop" selected, command: "/usr/lib64/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" 13796:2022-06-10T21:29:46.213318+02:00 localhost sddm-helper[1504]: Starting: "/usr/share/sddm/scripts/wayland-session /usr/lib64/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" 13820:2022-06-10T21:29:46.213381+02:00 localhost dbus-daemon[1544]: [session uid=1000 pid=1544] Activating service name='org.kde.KSplash' requested by ':1.1' (uid=1000 pid=1515 comm="/usr/bin/startplasma-wayland ") 14155:2022-06-10T21:29:50.282594+02:00 localhost ksplashqml[1559]: The Wayland connection broke. Did the Wayland compositor die? 14156:2022-06-10T21:29:50.284084+02:00 localhost kactivitymanagerd[1854]: The Wayland connection broke. Did the Wayland compositor die? Operating System: openSUSE Leap 15.4 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.14.21-150400.22-default (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6500T CPU @ 2.50GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 530
Same here, already some time. Sometimes I get it to autologin when I re-configure it in plasma's configuration, but then after a while I am back to console login
Some more discussions here: https://forums.opensuse.org/t/plasmawayland-sddm-autologin-is-broken/152845/12 After a failed login attempt (back on tty login), I try to start sddm manually and get the following log from journalctl Apr 12 23:35:58 kiste sudo[1633]: kusi : TTY=tty1 ; PWD=/home/kusi ; USER=root ; COMMAND=/usr/bin/systemctl start sddm Apr 12 23:35:58 kiste sudo[1633]: pam_unix(sudo:session): session opened for user root(uid=0) by kusi(uid=1000) Apr 12 23:35:58 kiste systemd[1]: Starting Simple Desktop Display Manager... Apr 12 23:35:58 kiste systemd[1]: Started Simple Desktop Display Manager. Apr 12 23:35:58 kiste sudo[1633]: pam_unix(sudo:session): session closed for user root Apr 12 23:35:58 kiste sddm[1637]: Initializing... Apr 12 23:35:58 kiste sddm[1637]: Starting... Apr 12 23:35:58 kiste sddm[1637]: Logind interface found Apr 12 23:35:58 kiste sddm[1637]: Adding new display on vt 7 ... Apr 12 23:35:58 kiste sddm[1637]: Loading theme configuration from "" Apr 12 23:35:58 kiste sddm[1637]: Display server starting... Apr 12 23:35:58 kiste sddm[1637]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{cee6e920-d49e-4ba9-a97b-0fa4c0e0a4ca} -background none -noreset -displayfd 17 -seat seat0 vt7 Apr 12 23:35:58 kiste sddm[1637]: Failed to read display number from pipe Apr 12 23:35:58 kiste sddm[1637]: Attempt 1 starting the Display server on vt 7 failed
I think this should be moved to the Tumbleweed product, since I can reproduce on a new installation on the latest packages on TW.
I have such a problem that when logging out I can't change the xorg or wayland session. If I go from wayland to xorg, then I have a black screen with a cursor and also vice versa.
(In reply to Azim Kozubaev from comment #4) > I have such a problem that when logging out I can't change the xorg or > wayland session. If I go from wayland to xorg, then I have a black screen > with a cursor and also vice versa. ~ ❯ inxi -F System: Host: home-pc Kernel: 6.4.3-1-default arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.6 Distro: openSUSE Tumbleweed 20230717 Machine: Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE AX V2 v: x.x serial: <superuser required> UEFI: American Megatrends LLC. v: FDb date: 06/01/2023 CPU: Info: 8-core model: AMD Ryzen 7 5700X bits: 64 type: MT MCP cache: L2: 4 MiB Speed (MHz): avg: 2462 min/max: 2200/4662 cores: 1: 2200 2: 2200 3: 2800 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 3400 11: 2200 12: 3400 13: 2200 14: 2200 15: 2200 16: 3400 Graphics: Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] driver: amdgpu v: kernel Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2 compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu resolution: 1920x1080 API: OpenGL v: 4.6 Mesa 23.1.3 renderer: AMD Radeon RX 6600 (navi23 LLVM 16.0.6 DRM 3.52 6.4.3-1-default) Audio: Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel API: ALSA v: k6.4.3-1-default status: kernel-api Server-1: PipeWire v: 0.3.72 status: active Network: Device-1: Realtek RTL8125 2.5GbE driver: r8169 IF: eno1 state: up speed: 100 Mbps duplex: full mac: 74:56:3c:45:9f:52 Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e IF: wlp5s0 state: down mac: 2a:c6:55:37:51:05 IF-ID-1: docker0 state: down mac: 02:42:63:5e:50:c6 IF-ID-2: virbr0 state: down mac: 52:54:00:1c:1e:8b Bluetooth: Device-1: MediaTek Wireless_Device driver: btusb type: USB Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block: hardware: no software: yes address: see --recommends Drives: Local Storage: total: 931.51 GiB used: 122.77 GiB (13.2%) ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB Partition: ID-1: / size: 130 GiB used: 11.52 GiB (8.9%) fs: btrfs dev: /dev/nvme0n1p3 ID-2: /boot/efi size: 1022 MiB used: 30.5 MiB (3.0%) fs: vfat dev: /dev/nvme0n1p1 ID-3: /home size: 598 GiB used: 111.22 GiB (18.6%) fs: btrfs dev: /dev/nvme0n1p4 ID-4: /opt size: 130 GiB used: 11.52 GiB (8.9%) fs: btrfs dev: /dev/nvme0n1p3 ID-5: /var size: 130 GiB used: 11.52 GiB (8.9%) fs: btrfs dev: /dev/nvme0n1p3 Swap: ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p2 Sensors: System Temperatures: cpu: 37.6 C mobo: 31.0 C gpu: amdgpu temp: 43.0 C Fan Speeds (RPM): N/A gpu: amdgpu fan: 0 Info: Processes: 368 Uptime: 0h 12m Memory: available: 31.24 GiB used: 2.57 GiB (8.2%) Shell: Zsh inxi: 3.3.27
Almost two years later, experiencing something similiar still today as of 2024.06.06 boo 1226053
Similar error in openSUSE Tumbleweed 20240622 x86_64 I can not use autologin with wayland or pc boot to tty. But wayland works if I login manually OS: openSUSE Tumbleweed 20240622 x86_64 Host: Latitude 5520 Kernel: Linux 6.9.5-1-default Uptime: 3 mins Packages: 2840 (rpm), 41 (flatpak) Shell: zsh 5.9 Display (27GL850): 2560x1440 @ 60Hz * Display (LG FULL HD): 1920x1080 @ 75Hz DE: KDE Plasma 6.1.0 WM: KWin (X11) WM Theme: Utterly-Round-Dark Theme: kvantum (UtterlyNord) [QT], Breeze-Dark [GTK2], Breeze [GTK3/4] Icons: Papirus-Dark [QT], Papirus-Dark [GTK2/3/4] Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4] Cursor: Fossa (24px) Terminal: warp v0.2024.06.18.08.02.stable_04 Terminal Font: MesloLGS NF (13.0pt) CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 (8) @ 4,70 GHz GPU: Intel Iris Xe Graphics @ 1,30 GHz [Integrated] Memory: 5,90 GiB / 15,37 GiB (38%) Swap: 0 B / 15,37 GiB (0%) Disk (/): 86,13 GiB / 449,89 GiB (19%) - btrfs
Looks like this issue got fixed again with Plasma 6.1 update. Works fine here after the update.
(In reply to Çağan from comment #8) > Looks like this issue got fixed again with Plasma 6.1 update. Works fine > here after the update. are you using nvidia?
(In reply to Örs from comment #9) > (In reply to Çağan from comment #8) > > Looks like this issue got fixed again with Plasma 6.1 update. Works fine > > here after the update. > > are you using nvidia? No, using Intel ARC graphics.
autologin in wayland works for me without problems now OS: openSUSE Tumbleweed 20240625 x86_64 Host: Latitude 5520 Kernel: Linux 6.9.6-1-default Uptime: 2 mins Packages: 2842 (rpm), 41 (flatpak) Shell: zsh 5.9 Display (27GL850): 2560x1440 @ 100Hz Display (LG FULL HD): 1920x1080 @ 75Hz [External] DE: KDE Plasma 6.1.0 WM: KWin (Wayland) WM Theme: Utterly-Round-Dark Theme: kvantum (UtterlyNord) [QT], Breeze-Dark [GTK2], Breeze [GTK3/4] Icons: Papirus-Dark [QT], Papirus-Dark [GTK2/3/4] Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4] Cursor: Fossa (24px) Terminal: warp v0.2024.06.25.08.02.stable_01 Terminal Font: MesloLGS NF (13.0pt) CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 (8) @ 4,70 GHz GPU: Intel Iris Xe Graphics @ 1,30 GHz [Integrated] Memory: 5,81 GiB / 15,37 GiB (38%) Swap: 0 B / 15,37 GiB (0%) Disk (/): 85,73 GiB / 449,89 GiB (19%) - btrfs