On Tue, 2017-05-23 at 17:17 +0200, Hogren wrote: > > On 23/05/2017 14:44, Raffaele Belardi wrote: > > On Tue, 2017-05-23 at 14:05 +0200, Hogren wrote: > > > I suppose there is a group in /etc/groups for gdm ? > > > > > > Does your user is associate with this group ? > > > > > > > > > > Yes, there is a gdm group but my user is not part of it. I will > > test it > > later since I cannot logout right now, but where did you find a > > reference for this? > > Hum, sorry it's possible that it's a mistake.
Anyway, I just tried to add my user to group gdm, no change. > > Other thing, who is the user UID=32 ? > > Why it's him who try to execute systemd ? It's gdm, by comparison with another system where gdm starts fine it is normal. > > > > "The only special privilege the "gdm" user requires is the > > ability to read and write Xauth files to the <var>/run/gdm > > directory. The <var>/run/gdm directory should have root:gdm > > ownership > > and 1777 permissions." > > > > My /var/run/gdm has different permissions: > > > > drwx--x--x 3 root gdm 60 May 23 10:19 gdm > > I tried to set the /var/lib/gdm permission to 1777, no change. Finally I cleared the /var/lib/gdm contents, no change. Going back to the error log: systemd[356]: user@32.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted I believe that systemd is telling me that PAM did not allow spawning a '/usr/lib/systemd/systemd' for user gdm. Maybe I should try to understand why PAM is denying it. Anyone expert with PAM? raffaele