You are not logged in.

#1 2013-08-05 11:20:46

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Dbus issues [was: GDM _sometimes_ doesn't start]

Hey,

I've been having issues with GDM (+ Cinnamon) on two PCs lately, where sometimes upon boot GDM doesn't start.

I've fixed it previously by deleting every gtk and gnome directories in $HOME, deleting /var/lib/gdm and reinstalling it. I don't recall the actual commands since I've been trying many things including deleting and reinstalling every gnome package.

I tried slim, KDM, LXDM and they all work correctly every time, only GDM doesn't want to start at random times.

Output of systemctl status gdm:

ago 05 13:08:20 nomad systemd[1]: Starting GNOME Display Manager...
ago 05 13:08:20 nomad systemd[1]: Started GNOME Display Manager.
ago 05 13:08:20 nomad gdm[1542]: Failed to give slave programs access to the display. Trying to proceed.
[I stopped GDM at this point]
ago 05 13:08:58 nomad systemd[1]: Stopping GNOME Display Manager...
ago 05 13:08:58 nomad gdm[1542]: GLib-GObject: g_object_ref: assertion `object->ref_count > 0' failed
ago 05 13:08:58 nomad systemd[1]: Stopped GNOME Display Manager.

Every time I upgrade GDM, I'm getting the warning that "/var/lib/gdm permissions differ from the package". Is this message relevant to this behaviour?

This has happened a few times in the last ~3 months or so, did anyone else experience this?
Where can I find some meaningful log?

Last edited by eazy (2013-08-07 07:47:50)


no masters to rule us, no gods to fool us

Offline

#2 2013-08-07 07:50:21

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Dbus issues [was: GDM _sometimes_ doesn't start]

Bump.

This apparently is caused by dbus, since today LXDM wasn't able to log me in into XFCE or Cinnamon, just blue screen and nothing else.

I'm getting these dbus messages:

ago 07 09:39:06 nomad systemd[1]: Started D-Bus System Message Bus.
ago 07 09:39:12 nomad dbus-daemon[2540]: dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.s
ago 07 09:39:12 nomad dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service'
ago 07 09:39:12 nomad dbus-daemon[2540]: dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
ago 07 09:39:12 nomad dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
ago 07 09:39:12 nomad dbus-daemon[2540]: dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.UPower' unit='upower.service'
ago 07 09:39:12 nomad dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.UPower' unit='upower.service'
ago 07 09:39:37 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out
ago 07 09:39:37 nomad dbus[2540]: [system] Failed to activate service 'org.freedesktop.RealtimeKit1': timed out
ago 07 09:39:37 nomad dbus[2540]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
ago 07 09:39:37 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
ago 07 09:39:37 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
ago 07 09:39:37 nomad dbus[2540]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
ago 07 09:39:37 nomad dbus[2540]: [system] Failed to activate service 'org.freedesktop.UPower': timed out
ago 07 09:39:37 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.freedesktop.UPower': timed out
ago 07 09:39:38 nomad dbus-daemon[2540]: dbus[2540]: [system] Activating systemd to hand-off: service name='org.bluez' unit='dbus-org.bluez.service'
ago 07 09:39:38 nomad dbus[2540]: [system] Activating systemd to hand-off: service name='org.bluez' unit='dbus-org.bluez.service'
ago 07 09:39:46 nomad dbus-daemon[2540]: dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
ago 07 09:39:46 nomad dbus[2540]: [system] Activating systemd to hand-off: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
ago 07 09:40:03 nomad dbus[2540]: [system] Failed to activate service 'org.bluez': timed out
ago 07 09:40:03 nomad dbus[2540]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
ago 07 09:40:03 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.bluez': timed out
ago 07 09:40:03 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
ago 07 09:40:11 nomad dbus-daemon[2540]: dbus[2540]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out

Restarting LXDM didn't help.
Restarting dbus a couple of times and restarting LXDM worked, and I'm able to log in again.

This is starting to get annoying...


no masters to rule us, no gods to fool us

Offline

Board footer

Powered by FluxBB