Hi folks, on my laptops and other private computers I normally just login on the virtual console and "startx" or "xinit" -- no fancy stuff like display managers.
Recently I switched to rootless X (finally, after gentoo dropped "suid" by default on Xorg long ago). But I did not want to bloat my system with elogind (not to mention systemd), so I came up with a much less complex solution: I created a small PAM module "pam_tty.so", which simply chowns the corresponding /dev/ttyN on a successful login on a virtual console. All other privileges can be granted by Unix groups. So yes, rootless X without elogind is possible. pam_tty.so is available on github: https://github.com/bjorn-fischer/pam_tty Any thoughts on this? Cheers, Björn