After trial and error (earlier post), I’ve found out that only three steps that are required to migrate SDDM/KDE to a Wayland-only system in OpenSUSE Tumbleweed:
# systemctl disable xdm.service
# systemctl enable sddm.service
# cat > /etc/sddm.conf.d/10-display-server.conf << EOF
[General]
DisplayServer=wayland
[Wayland]
CompositorCommand=kwin_wayland --drm --no-global-shortcuts --no-lockscreen --locale1
EOF
End result:
$ pstree `pidof sddm`
sddm─┬─sddm-helper───startplasma-way───{startplasma-way}
└─{sddm}
Also sanity-checked ps aux | grep -i xorg
. Makes sense now that I know the steps but was pretty hard to find the correct steps because did not really know what I was doing :-) The default value for DisplayServer
is x11
and then default value for CompositorCommand
is weston
. Thus both need to be updated.