Hello everyone. I’m pretty new to linux so sorry if I misunderstood something.
I am on endeavouros with no desktop environment, as I wanted to make my own one. I decided on using wayland with hyprland as the compositor. Now, I got to the point where I want to improve the login ux.
I setup sddm to open hyprland after login. This works, but after login I can see it opening a new session and only after that hyprland opens. After a bit of searching around, it seems that wayland runs rootless, while x11 runs as root. Which makes it so if you use wayland for sddm, it can’t open the new admin user in the same session.
What would be my options to have a smooth transition between logging in, and the rest of the system working.
I assume I could use x11 for sddm, however I’ve read that its use of root for the display manager is insecure, so if possible, I’d rather not. I also assume that other display managers have the same issue with x11 vs wayland, as I haven’t found any information to say otherwise.
Could I use a setup where I autologin, and then instantly screen lock? Wouldn’t that just create possible issues for the future, and also be less secure than just using x11?
Note that I am the only user, using one session only. I need only the password part of the display manager, in case there’s an alternative that would work.
Thank you for any input on this!