GDM won't work under systemd

Jacek Konieczny jajcus at jajcus.net
Wed Oct 23 16:50:06 CEST 2013


Hi,

I am trying to install a usable PLD Linux on a laptop. Currently I am
stuck at GDM which won't start correctly.

The X server is started, but nothing is displayed, but the syslog is
flooded with "'/run/user/0/dconf': Permission denied.".

It starts like this:

> Oct 23 16:36:14 mobik dbus-daemon[1011]: dbus[1011]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.40" (uid=0 pid=1682 comm="") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.41" (uid=0 pid=1686 comm="")
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: DEBUG(+): Enabling debugging
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): Enabling debugging
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
> Oct 23 16:36:15 mobik gnome-session[1710]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): Using systemd for session tracking
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: DEBUG(+): Using systemd for session tracking
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): GsmShell: Not connected to the shell
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): GsmManager: setting client store 0x1000680
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: DEBUG(+): GsmShell: Not connected to the shell
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: DEBUG(+): GsmManager: setting client store 0x1000680
> Oct 23 16:36:15 mobik /usr/bin/dbus-launch[1710]: gnome-session[1710]: DEBUG(+): GsmXsmpServer: SESSION_MANAGER=local/mobik:@/tmp/.ICE-unix/1710,unix/mobik:/tmp/.ICE-unix/1710
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): GsmXsmpServer: SESSION_MANAGER=local/mobik:@/tmp/.ICE-unix/1710,unix/mobik:/tmp/.ICE-unix/1710
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: dconf-CRITICAL: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): fill: *** Getting session 'gdm-shell'
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): fill: *** Looking if /home/services/xdm/.config/gnome-session/sessions/gdm-shell.session is a valid session file
> Oct 23 16:36:15 mobik gnome-session[1710]: DEBUG(+): Cannot use session '/home/services/xdm/.config/gnome-session/sessions/gdm-shell.session': non-existing or invalid file.

It looks like GDM has some problems with getting right user id from the
systemd-logind or something.

Does anybody have any ideas how to debug/fix that?

I have tried gdm and systemd packages both from main th and from
th-ready. Other than that that is generally a fresh Th install.

Currently:
[root at mobik ~]# rpm -q gdm systemd dconf
gdm-3.10.0.1-1.x86_64
systemd-208-4.x86_64
dconf-0.18.0-1.x86_64

Greets,
	Jacek


More information about the pld-devel-en mailing list