I’m trying to make SDDM itself run on Wayland. I’ve installed a clean Manjaro (KDE) rig and the first thing I did was make KDE sessions run on wayland. I’ve got that part working as
echo $XDG_SESSION_TYPE outputs
wayland when i’m logged in KDE.
Next thing i did was clone the latest SDDM git repository and build it from source, and did a
sudo make install. Everything seems to be working fine after that still.
But, now SDDM is running on
tty 2 and when I switch back to
tty 1 nothing happens. It keeps showing the SDDM login screen, but without a mouse. It seems that it got frozen. When I go back to
tty 2, it works fine.
Now, When I open
tty 3 and login I want to make sure that SDDM itself was running on wayland too, as it is supported by now (by adding
DisplayServer=wayland in the
[general] section of the
How i checked if SDDM in
tty 2 is running on wayland? Well by doing this:
ps aux | grep sddm
Which will give a list of running processes by SDDM.
In that list I’m looking for the greeter process, and note the PID (process ID).
Then I’m extracting the
$XDG_SESSION_TYPE environment variable of that process by doing this:
cat /proc/1234/environ | tr '\0' '\n' | grep XDG_SESSION_TYPE
Where 1234 is the PID.
Which is not the desired output. It seems that even after forcing SDDM to run on wayland, SDDM still runs on x11. How can I make it run on wayland?
The next part is not really important but informative)
Why all the hassle? Well I want to create a desktop environment, including the login process, to be fluid. To be smooth. No hard black screens between login and logout back to sddm. I’m making a sddm and kde theme with login logout animations, somewhat like windows 11 does. When a user is selected in sddm, it’s current desktop wallpaper is used, and blurred somewhat. When loging in, the login panel slides away while the wallpaper becomes, let’s say ’ unblurred’. And in this process, i do not want to see a hard cut black screen because it’s switching from x11 display manager to wayland.