1 |
On Tue, 2017-05-23 at 17:17 +0200, Hogren wrote: |
2 |
> |
3 |
> On 23/05/2017 14:44, Raffaele Belardi wrote: |
4 |
> > On Tue, 2017-05-23 at 14:05 +0200, Hogren wrote: |
5 |
> > > I suppose there is a group in /etc/groups for gdm ? |
6 |
> > > |
7 |
> > > Does your user is associate with this group ? |
8 |
> > > |
9 |
> > > |
10 |
> > |
11 |
> > Yes, there is a gdm group but my user is not part of it. I will |
12 |
> > test it |
13 |
> > later since I cannot logout right now, but where did you find a |
14 |
> > reference for this? |
15 |
> |
16 |
> Hum, sorry it's possible that it's a mistake. |
17 |
|
18 |
Anyway, I just tried to add my user to group gdm, no change. |
19 |
|
20 |
> |
21 |
> Other thing, who is the user UID=32 ? |
22 |
> |
23 |
> Why it's him who try to execute systemd ? |
24 |
|
25 |
It's gdm, by comparison with another system where gdm starts fine it is |
26 |
normal. |
27 |
|
28 |
> > |
29 |
> > "The only special privilege the "gdm" user requires is the |
30 |
> > ability to read and write Xauth files to the <var>/run/gdm |
31 |
> > directory. The <var>/run/gdm directory should have root:gdm |
32 |
> > ownership |
33 |
> > and 1777 permissions." |
34 |
> > |
35 |
> > My /var/run/gdm has different permissions: |
36 |
> > |
37 |
> > drwx--x--x 3 root gdm 60 May 23 10:19 gdm |
38 |
> > |
39 |
|
40 |
I tried to set the /var/lib/gdm permission to 1777, no change. |
41 |
Finally I cleared the /var/lib/gdm contents, no change. |
42 |
|
43 |
Going back to the error log: |
44 |
|
45 |
systemd[356]: user@××.service: Failed at step PAM spawning |
46 |
/usr/lib/systemd/systemd: Operation not permitted |
47 |
|
48 |
I believe that systemd is telling me that PAM did not allow spawning a |
49 |
'/usr/lib/systemd/systemd' for user gdm. Maybe I should try to |
50 |
understand why PAM is denying it. Anyone expert with PAM? |
51 |
|
52 |
raffaele |