Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12487 - GDM fails to properly initiate X when started from /etc/rc.conf

Attached to Project: Arch Linux
Opened by Amine Haddad (aminehaddad) - Wednesday, 17 December 2008, 09:22 GMT
Last edited by Jan de Groot (JGC) - Sunday, 31 May 2009, 19:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
About 9 out of 10 bootups, gdm is started in /etc/rc.conf but the gnome login screen never comes up (only the command-line login screen). The weird part is that I only have to login as root and restart gdm for it to work properly (/etc/rc.d/gdm restart).. and that quick fix works 100% of the time.

Additional info:
local/gdm 2.20.8-2 (gnome-extra)
Linux sager 2.6.27-ARCH #1 SMP PREEMPT Mon Dec 8 22:01:01 UTC 2008 i686 Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz GenuineIntel GNU/Linux
From /etc/rc.conf: DAEMONS=(syslog-ng dbus @hal !network @wicd @netfs @crond @sshd gdm)
I've attached my /etc/X11/xorg.conf and Xorg.0.log of right after a failed attempt and before running '/etc/rc.d/gdm restart'.

Steps to reproduce:
Add gdm to /etc/rc.conf and reboot.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 31 May 2009, 19:12 GMT
Reason for closing:  Fixed
Comment by Glenn Matthys (RedShift) - Wednesday, 17 December 2008, 10:05 GMT
Can you reproduce this with an other login manager?
Comment by Amine Haddad (aminehaddad) - Wednesday, 17 December 2008, 10:14 GMT
I do not know of any other login manager. I'll be glad to do some tests if you can guide me!
Comment by Glenn Matthys (RedShift) - Wednesday, 17 December 2008, 10:16 GMT
There is kdm, slim and just plain old xdm (which ships with xorg-xdm). Xdm will probably be the easiest to test with.
Comment by Jan de Groot (JGC) - Wednesday, 17 December 2008, 13:47 GMT
Try to remove the backgrounding from at least hal. X uses hal for input hotplugging nowadays, if hal is half-initialized when X is starting, things could go wrong.
Comment by Amine Haddad (aminehaddad) - Wednesday, 17 December 2008, 15:42 GMT
I removed the backgrounding from hal and rebooted 3 times, so far it has booted fine every time. Thank you for the help!
Comment by Amine Haddad (aminehaddad) - Thursday, 18 December 2008, 23:28 GMT
  • Field changed: Percent Complete (100% → 0%)
The problem started occuring again.
Comment by Amine Haddad (aminehaddad) - Thursday, 18 December 2008, 23:36 GMT
The problem started occuring again, and my configuration is the same as in the description except hal is not backgrounded. I will attach the log (no error is in the log.. and I see the nvidia splash screen come up, and then it goes away to the console login screen). Doing /etc/rc.d/gdm restart works fine, as it did before I un-backgrounded hal from /etc/rc.conf!
Comment by Jan de Groot (JGC) - Friday, 19 December 2008, 07:50 GMT
Guess it's a bug in the nvidia driver, as Nvidia GLX is the last thing that gets initialized in your log. I don't see any attempt for hotplugging from hal in the logs, so it doesn't even start querying hal for devices.
Try regenerating xorg.conf using "Xorg -configure" and switch to the vesa or nv driver to test if your problem is the nvidia driver.
Comment by Tomas Mudrunka (harvie) - Saturday, 10 January 2009, 20:08 GMT
try it this way ;o)
From /etc/rc.conf: DAEMONS=(syslog-ng hal @gdm !network @wicd @netfs @crond @sshd)
Comment by Amine Haddad (aminehaddad) - Thursday, 14 May 2009, 05:48 GMT
This problem has stopped occuring for me with latest updates :)

Loading...