Hi, I use Tumbleweed and Hyprland and tried to use sddm but even though I enabled sddm by “sudo systemctl enable sddm” it doesn’t auto start in the startup. I have to login to TTY and type “sudo systemctl start sddm” to start it. Here is the log of “sudo systemctl status sddm” on tty.
default-displaymanager - auto mode
link best version is /usr/lib/X11/displaymanagers/sddm
link currently poinst to /usr/lib/X11/displaymanagers/sddm
link default-displaymanager is /usr/lib/X11/displaymanagers/default-displaymanager
/usr/lib/X11/displaymanagers/console - priority 5
/usr/lib/X11/displaymanagers/sddm - priority 25
/usr/lib/X11/displaymanagers/xdm - priority 10
It sees the default display manager as X11 even though it should be Wayland.
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice
[General]
DisplayServer=wayland
# No effect in 0.20.0, might change in the future again
MinimumVT=7
# boo#1089932
EnableHiDPI=true
[Users]
# boo#979775
ReuseSession=true
User=ahmet
Session=Hyprland
I removed SDDM and added the line exec=Hyprland at the end of ~/.profile file. Even though the error “Failed to start X Display Manager” continues, Hyprland automatically starts after logging in.
Well, the script /usr/lib/X11/display-manager (which comes from the package xdm which stands for X11 Display Manger) expects the /usr/bin/X to exist. Nobody forces you to use it for your user sessions, but so far nobody implemented pure Wayland display management.
This can be considered packaging bug. If the script is not functional without X11 server, the xdm package should require the X11 server package.