You are not logged in.
I've read about https://wiki.archlinux.org/index.php/Xorg#Rootless_Xorg and you would need gdm to start rootless. And it works on gdm. Htop shows my user instead of root. The only disadvantage about gdm is the amount of dependencies. Do you know some display managers running rootless as well? LightDM can't.
see lightdm issue https://github.com/canonical/lightdm/issues/18
Last edited by equalizer876 (2020-12-31 01:26:37)
Offline
Do you need a display manager at all? The wiki seems pretty clear that GDM is the only current DM that can run rootless.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The clients I install for other people need a DM to switch between users and so on. As for myself I can do without a DM. The wiki said I need to run startx directly and not as "exec startx". Does it mean I'd need to type "startx" on every login? The less I need to type to login, the better.
Last edited by equalizer876 (2020-12-30 23:45:08)
Offline
I believe greetd might be able to do rootless X, but you might find it missing some features you'd need for others
https://wiki.archlinux.org/index.php/Greetd
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
The wiki said I need to run startx directly and not as "exec startx".
Where does it say that? That's not true at all - as the two are equivalent except for what happens after X exits (which has no bearing on X itself).
The clients I install for other people...
So you are installing arch linux systems for other people? This is almost always a bad idea. The fact that you are asking this sort of question, however, means it's a dreadfully bad idea. Please do not do this.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
So you are installing arch linux systems for other people? This is almost always a bad idea. The fact that you are asking this sort of question, however, means it's a dreadfully bad idea. Please do not do this.
Yup I know that unattended updates aren't possible on Arch. So other PCs get Debian systems. Only I use Arch.
Offline
So is this question about your arch machine? If so, your only reason for needing a DM doesn't apply. If not, then you'll need to ask on the debian forums.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
To be honest I also use the switch user feature (without logout). Also DMs like gdm allow to click Enter, type password, enter and I'm in. Cli approach would be to first type a username, enter, and then type pw? I guess I'll stay on a DM then.
Last edited by equalizer876 (2020-12-31 01:26:03)
Offline
You can configure any of those options for a getty as well if you'd like. But if GDM does what you want, use it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I believe greetd might be able to do rootless X, but you might find it missing some features you'd need for others
https://wiki.archlinux.org/index.php/Greetd
Thanks. Will try soon. Also because I don't want to configure a getty from scratch. The Greetd article tells to start a compositor. For MATE DE it would be marco?
Last edited by equalizer876 (2020-12-31 11:43:31)
Offline