fcrozat / gdm-container

12 stars 4 forks source link

Needs gdm user #15

Closed federicomenaquintero closed 1 year ago

federicomenaquintero commented 1 year ago

I'm trying to run the instructions based on a Tumbleweed install with a "Server" profile, e.g. no graphical stuff installed. This means that the gdm user does not exist; the following appears in the journal when trying to start gdm:

Gdm: can't find the GDM user "gdm". Aborting!
Gdm: the GDM user should not be root. Aborting!

So... should the podman container runlabel script take care of creating that user?

federicomenaquintero commented 1 year ago

The incantations:

groupadd --gid 456 gdm
useradd --uid 456 --gid 456 --home-dir /var/lib/gdm --comment 'Gnome Display Manager daemon' --shell /usr/sbin/nologin gdm
federicomenaquintero commented 1 year ago

Fcrozat showed me that the gdm user/group are created by the label-install script via systemd's userdb:

Therefore I'll close this bug; the install script creates the gdm user/group by itself.