Originally posted by mSparks
View Post
It is not a consequence of either technology but a difference in architectural choice that makes a use case more or less complex.
Originally posted by mSparks
View Post
And as said before there are many techniques to do that.
So even if some forms of authentication require asynchronous handling it does not imply doing that in a separate process.
And, again, even if the choice of asynchronous technique is a separate process, it can just deal with the authentication and still keep the hard bits of locking in the process that controls input and output.
Originally posted by mSparks
View Post
An X11 server could of course implement locking directly and would thus only have to deal with the reduced complexity compare to the usual choice of delegating it to a separate application.
Equivalently, if you choose to delegate that on Wayland, you also have additional complexity.
A desktop project like COSMIC has all four options available:
* using an X11 server with built-in screen locking, e.g. a fork of Xorg with that additional feature
* using an X11 server which delegates screen locking, e.g. Xorg and xscreensaver
* using a Wayland compositor with built-in screen locking
* using a Wayland compositor which delegates screen locking
Given COSMIC's choice of Wayland that leaves them with two of those, I assumed they went with the simpler one.
Comment