You are not logged in.

#1 2012-11-25 14:09:57

Alsvartr
Member
From: Moscow
Registered: 2008-04-03
Posts: 6

GDM failed to start after switching to systemd

Hi, forums! After switching to systemd GDM is failing to start at boot. It seems that X server is working properly (and I still can run startx without any problems), but gdm only shows black screen with mouse pointer. Doing 'systemctl restart gdm' doesn't help at all. Installing gdm from scratch doesn't help either.
And, yes, system is totally up to date.

Honestly, I don't know how to debug gdm properly, so maybe you can point me? Logs at /var/log/gdm/:0-slave.log is full of this:

gdm-simple-slave[1409]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[1409]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[1409]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[1409]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed

Any help appreciated.

Offline

#2 2012-11-25 20:38:50

runny6play
Member
Registered: 2012-02-18
Posts: 85

Re: GDM failed to start after switching to systemd

did you remember to enable graphic target? you need to do that after switching to systemd. I use slim and slim exited and dropped me into tty1 the first time I ran systemd

Offline

#3 2012-11-25 21:21:29

Alsvartr
Member
From: Moscow
Registered: 2008-04-03
Posts: 6

Re: GDM failed to start after switching to systemd

runny6play wrote:

did you remember to enable graphic target? you need to do that after switching to systemd. I use slim and slim exited and dropped me into tty1 the first time I ran systemd

Like this?

systemctl enable graphical.target

ls -l /etc/systemd/system/default.target
/etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target

No, this didn't help. BTW, slim is working just fine.

Last edited by Alsvartr (2012-11-25 21:21:58)

Offline

#4 2012-11-26 13:14:03

Birkov
Member
Registered: 2011-10-26
Posts: 21

Re: GDM failed to start after switching to systemd

After upgrading to gdm 3.6.2-1, I got same problem: box hangs at boot while trying to start gdm.

/var/log/gdm/:0-slave.log is filled with:

gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed
gdm-simple-slave[408]: GLib-GObject-CRITICAL: g_object_ref: assertion `object->ref_count > 0' failed

Didn't have this problem with the older gdm version which also got started by systemd.

Edit:typo

Last edited by Birkov (2012-11-26 13:14:43)

Offline

#5 2012-11-26 15:28:16

omer666
Member
Registered: 2011-01-26
Posts: 70

Re: GDM failed to start after switching to systemd

There is a problem with accountsservice versions higher than 0.6.25 and GDM. Try downgrading to 0.6.25.
Also see:
https://bbs.archlinux.org/viewtopic.php?id=144371
https://bbs.archlinux.org/viewtopic.php?id=153356

Offline

#6 2012-11-26 15:52:05

Birkov
Member
Registered: 2011-10-26
Posts: 21

Re: GDM failed to start after switching to systemd

@Omer666
Thank you very much for reply and info. Using gdm-old from AUR for now.

Offline

#7 2012-11-26 18:16:04

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 54

Re: GDM failed to start after switching to systemd

@Omer666

I was having the same issue as the OP.  Downgrading accountsservice to 0.6.25 fixed the issue for me.  gdm now loads and I can login to my awesome-gnome session!


Machine:  Gateway NV55C Dual core Intel Pentium CPU P6100

Offline

Board footer

Powered by FluxBB