You are not logged in.

#1 2012-10-17 13:01:27

michaels
Member
Registered: 2012-10-17
Posts: 20

[SOLVED] gdm randomly fails on boot

Hello everybody,

I'm new to arch and it took me some time to get everything going, but now it works almost without issues. One not really critical, but very annoying thing is the following:

Sometimes when booting the system (pure systemd setup), gdm will not start (i. e. no graphical login appears). Instead, I'm directed to tty1, have to log in and do systemctl stop/start gdm.service. I have absolutely no idea why it is working sometimes and sometimes not - it seems like a random phenomenon... Here are the Xorg.log files of the situation when everything's working and when it's not:

working: http://pastie.org/private/szwlmvl8pcbcaoe0xurba

failing: http://pastie.org/private/webtcyiyktdwkeke8rb9kq

The output is not very conclusive, in my opinion. What other logfiles could be helpful?

Thanks for your help in advance!

Last edited by michaels (2012-10-24 20:47:19)

Offline

#2 2012-10-22 21:45:32

michaels
Member
Registered: 2012-10-17
Posts: 20

Re: [SOLVED] gdm randomly fails on boot

1) to push this one a little...

2) to give some more information: Checking the output of journalctl thoroughly, I found out that in the not-working case the gdm error messages (GDM display: display lasted xxx seconds / maximum number of X display failures reached) appear between messages from the kernel. Those indicate that the system is still busy loading kernel modules (device drivers for sound and chipset, in particular). Maybe some modules which are needed for the X server to run properly aren't loaded when systemd attempts to start gdm? Then, how to apply a timeout or, even better, a proper dependency to gdm.service unit?

journal failing: http://pastie.org/private/0k6fjkoievd7k90ytnqdq

journal working (truncated after gdm started successfully): http://pastie.org/private/orbvisc9hbjgmosxplmtra

I also tried to upgrade gdm from [testing] with all its dependencies, but this does not work at all.

Offline

#3 2012-10-22 22:02:25

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] gdm randomly fails on boot

I think you should try it with early KMS, if it does not help, test it with systemd-udev-settle.service as a dependecy for gdm.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2012-10-23 08:23:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] gdm randomly fails on boot

remove consolekit from your system


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2012-10-23 08:40:12

michaels
Member
Registered: 2012-10-17
Posts: 20

Re: [SOLVED] gdm randomly fails on boot

Thanks for your help so far. Edited mkinicpio.conf and I'll see if the problem is gone now.

I already stumbled upon removing consolekit. Do I get the information in https://wiki.archlinux.org/index.php/Sy … emd-logind right that I could simply remove the package if the loginctl output contains Active=yes? I didn't grasp all the connections between consolekit and other functionalities described in the consolekit wiki article...

Offline

#6 2012-10-24 20:50:07

michaels
Member
Registered: 2012-10-17
Posts: 20

Re: [SOLVED] gdm randomly fails on boot

It seems that loading the modules early did the trick! Still I'd like to know whether I could remove consolekit from my system without breaking anything... Will removal be suggested/required when the mentioned polkit version enters [stable] (and is installed, of course)?

Offline

Board footer

Powered by FluxBB