Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gdm fails to start
Date: Mon, 22 May 2017 08:14:20
Message-Id: 1495440969.7750.8.camel@st.com
1 I'm unable to start the gdm service on a recently installed gnome
2 desktop (~x86): the service continuously fails and restarts with the
3 errors below. If I disable the service and login into a text console,
4 startx works fine but the Gnome session misses some features (e.g.
5 screen lock). I enabled debug logging on gdm but nothing significant
6 appears.
7
8 Any suggestions?
9
10 thanks,
11
12 raffaele
13
14
15 systemd[356]: user@××.service: Failed at step PAM spawning
16 /usr/lib/systemd/systemd: Operation not permitted
17 systemd[1]: Failed to start User Manager for UID 32.
18 gdm-launch-environment][310]: pam_systemd(gdm-launch-
19 environment:session): Failed to create session: Start job for unit user
20 @32.service failed with 'failed'
21 systemd[1]: user@××.service: Unit entered failed state.
22 systemd[1]: user@××.service: Failed with result 'protocol'.
23
24 ...
25
26 /usr/libexec/gdm-x-session[359]: Activated service
27 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1
28 exited with stat
29 /usr/libexec/gdm-x-session[359]: Unable to register display with
30 display manager
31
32 # grep 32 /etc/passwd
33 gdm:x:32:32:GDM:/var/lib/gdm:/bin/false
34
35 # eselect profile list
36 Available profile symlink targets:
37   [1]   default/linux/x86/13.0
38   [2]   default/linux/x86/13.0/selinux
39   [3]   default/linux/x86/13.0/desktop
40   [4]   default/linux/x86/13.0/desktop/gnome
41   [5]   default/linux/x86/13.0/desktop/gnome/systemd *
42   [6]   default/linux/x86/13.0/desktop/plasma
43   [7]   default/linux/x86/13.0/desktop/plasma/systemd
44   [8]   default/linux/x86/13.0/developer
45   [9]   default/linux/x86/13.0/systemd
46   [10]  hardened/linux/x86
47   [11]  hardened/linux/x86/selinux
48   [12]  hardened/linux/musl/x86
49   [13]  default/linux/uclibc/x86
50   [14]  hardened/linux/uclibc/x86

Replies

Subject Author
Re: [gentoo-user] gdm fails to start Alexander Kapshuk <alexander.kapshuk@×××××.com>
[gentoo-user] Re: gdm fails to start - SOLVED Raffaele Belardi <raffaele.belardi@××.com>