Wayland session missing in login screen

I was using lxqt DE for some time and now uninstalled it. Now I am able to login to plasma X11 session from login screen but wayland option is missing from login screen. I have removed and reinstalled plasma-wayland-session but it does not help.

Operating System: EndeavourOS 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.4.16-hardened1-1-hardened (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook S14 X430UA
System Version: 1.0
inxi -FXZ
System:
Kernel: 6.4.16-hardened1-1-hardened arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 Desktop: KDE Plasma v: 5.27.8 Distro: EndeavourOS base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: VivoBook S14 X430UA v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: X430UA v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: X430UA.306 date: 04/28/2020
Battery:
ID-1: BAT0 charge: 9.2 Wh (71.9%) condition: 12.8/42.0 Wh (30.5%)
volts: 11.8 min: 11.8 model: ASUSTeK ASUS Battery status: discharging
CPU:
Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 559 high: 875 min/max: 400/3400 cores: 1: 875 2: 400
3: 800 4: 400 5: 400 6: 800 7: 400 8: 400 bogomips: 28808
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
arch: Gen-9.5 bus-ID: 00:02.0
Device-2: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
bus-ID: 1-6:3
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0 driver: X:
loaded: intel unloaded: modesetting dri: i965 gpu: i915
resolution: 1920x1080~60Hz
API: OpenGL v: 4.6 Mesa 23.1.7-arch1.1 renderer: Mesa Intel UHD Graphics
620 (KBL GT2) direct-render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
API: ALSA v: k6.4.16-hardened1-1-hardened status: kernel-api
Server-1: PipeWire v: 0.3.79 status: active
Network:
Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
bus-ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
bus-ID: 1-8:4
Report: btmgmt ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 4.2
lmp-v: 8
Drives:
Local Storage: total: 1.14 TiB used: 7.07 GiB (0.6%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
ID-2: /dev/sdb vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB
Partition:
ID-1: / size: 29.3 GiB used: 3.62 GiB (12.3%) fs: btrfs dev: /dev/sdb7
ID-2: /boot/efi size: 256 MiB used: 37 MiB (14.4%) fs: vfat dev: /dev/sdb1
ID-3: /home size: 29.3 GiB used: 3.62 GiB (12.3%) fs: btrfs dev: /dev/sdb7
ID-4: /var/log size: 29.3 GiB used: 3.62 GiB (12.3%) fs: btrfs
dev: /dev/sdb7
Swap:
ID-1: swap-1 type: zram size: 1024 MiB used: 0 KiB (0.0%) dev: /dev/zram1
ID-2: swap-2 type: zram size: 1024 MiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 44.0 C pch: 40.5 C mobo: N/A
Fan Speeds (rpm): cpu: 2400
Info:
Processes: 235 Uptime: 1h 19m Memory: total: 8 GiB available: 7.65 GiB
used: 2.52 GiB (32.9%) Init: systemd Compilers: gcc: 13.2.1 Packages: 1061
Shell: Zsh v: 5.9 inxi: 3.3.29

I have the option of re-instlalling EOS but want to understand what could be wrong with my system or where i might have made a mess?

Do you use sddm or gddm ?

SDDM. I have tried reinstalling SDDM but it does not help.

Do you have the plasma-wayland-protocols and plasma-wayland-session packages installed?

You’ll need those to use the Wayland session in Plasma. If not install those, logout or reboot and see if it’s available.

I have reinstalled both the packages, rebooted but the issue persists.

I guess you have both sddm and sddm-kcm installed.

Yes both are installed. What to do?

Do you use nvidia? If yes, do you have nvidia-drm.modeset=1 set for kernel cmdline?

No I do not use nvidia

I have no good idea.

What does pacman -Q | grep wayland show?

ajayc% pacman -Q | grep wayland
kwayland 5.110.0-1
kwayland-integration 5.27.8-1
plasma-wayland-protocols 1.10.0-1
plasma-wayland-session 5.27.8-1
qt5-wayland 5.15.10+kde+r57-1
wayland 1.22.0-1
wayland-protocols 1.32-1
wayland-utils 1.2.0-1
xorg-xwayland 23.2.0-1

Looks ok to me.

Do you have installed eos-plasma-sddm-config and eos-sddm-theme? The first one might be more important.

The first is installed but not the other.

I have to admit that I am running out of ideas.

Perhaps others have a glue what could be wrong here.

To make sure this has nothing to do with your user you could perhaps try…

  • to create another user, say johndoe
  • and see when you log iinto johndoe if wayland isn’t available as well for johndoe

Thanks
I have already tried that but the issue persists.

There are two entries in login screen

  1. Default
  2. Plasma x11

I do not know where this Default is coming from. If I choose Default, it brings me back to login screen after I input the password.

Only Plasma X11 works.

Perhaps Default is a try to use Wayland

Do you have ~/.local/share/sddm/wayland-session.log? If yes, does it contain anything?

It is blank.
The Default does not work and brings me back to login screen.

Then do the following

  • login with Default which will fail
  • login with x11 and look for errors

journalctl -xe

Here is the output as you suggested.

ajayc% journalctl -xe
Sep 17 14:28:47 ajayc dbus-daemon[1506]: [session uid=1000 pid=1506] Activating service name='org.kde.kdeconnect' requested by ':1.13' (uid=1000 pid=1621 comm="/usr/bin/plasmashell --no-respawn")
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/ldac
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/aptx_hd
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aptx_hd
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/aptx
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aptx
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/aac
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aac
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/sbc
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/sbc
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/faststream
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/opus_05
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/opus_05
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 17 14:28:47 ajayc bluetoothd[608]: Endpoint registered: sender=:1.92 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Sep 17 14:28:47 ajayc pipewire[1855]: [0:02:45.033265168] [1855] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Sep 17 14:28:47 ajayc pipewire[1855]: [0:02:45.033282974] [1855] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Sep 17 14:28:47 ajayc pipewire[1855]: [0:02:45.033340635] [1855]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Sep 17 14:28:47 ajayc wireplumber[1856]: <WpPortalPermissionStorePlugin:0xa1a37da2c70> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.Permiss>
Sep 17 14:28:47 ajayc wireplumber[1856]: <WpPortalPermissionStorePlugin:0xa1a37da2c70> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.Permiss>
Sep 17 14:28:47 ajayc dbus-daemon[1506]: [session uid=1000 pid=1506] Successfully activated service 'org.kde.kdeconnect'
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:95: TypeError: Cannot read property 'airplaneModeAvailable' of null
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Sep 17 14:28:47 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Sep 17 14:28:48 ajayc systemd[1486]: Started Konsole - Terminal.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 194.
Sep 17 14:28:51 ajayc plasmashell[1621]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"