You are not logged in.

#1 2020-12-30 23:25:04

equalizer876
Member
Registered: 2018-09-11
Posts: 79

[SOLVED] Display Manager (rootless xorg)

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

#2 2020-12-30 23:30:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,510
Website

Re: [SOLVED] Display Manager (rootless xorg)

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

#3 2020-12-30 23:43:34

equalizer876
Member
Registered: 2018-09-11
Posts: 79

Re: [SOLVED] Display Manager (rootless xorg)

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

#4 2020-12-31 00:08:27

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] Display Manager (rootless xorg)

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

#5 2020-12-31 00:23:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,510
Website

Re: [SOLVED] Display Manager (rootless xorg)

equalizer876 wrote:

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).

equalizer876 wrote:

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

#6 2020-12-31 01:00:43

equalizer876
Member
Registered: 2018-09-11
Posts: 79

Re: [SOLVED] Display Manager (rootless xorg)

Trilby wrote:

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

#7 2020-12-31 01:15:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,510
Website

Re: [SOLVED] Display Manager (rootless xorg)

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

#8 2020-12-31 01:24:42

equalizer876
Member
Registered: 2018-09-11
Posts: 79

Re: [SOLVED] Display Manager (rootless xorg)

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

#9 2020-12-31 02:34:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,510
Website

Re: [SOLVED] Display Manager (rootless xorg)

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

#10 2020-12-31 11:39:18

equalizer876
Member
Registered: 2018-09-11
Posts: 79

Re: [SOLVED] Display Manager (rootless xorg)

progandy wrote:

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

Board footer

Powered by FluxBB