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#5889 - acpid and gdm fail

Attached to Project: Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Saturday, 25 November 2006, 05:12 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Acpid fails to load after the last few -current upgrades. I load acpid after hal and dbus, but it just fails. If I try manually (after the failed attempt) to start it, it won't start. But if I try to stop it and then start it, it then loads. Do I miss something here? Does it need something else to be loaded beforehand? Something that wasn't the case before?

After the last few updates GDM does not load either (all the themes are crashing except the failsafe one).
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 27 November 2006, 19:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed by changing libx11-1.1-2 to disable XCB. Will keep one bug open to track further regressions, as an XCB enabled libx11 will go to testing or unstable.
Comment by Börje Holmberg (linfan) - Saturday, 25 November 2006, 09:20 GMT
GDM broken here, too.

Linfan
Comment by Jan de Groot (JGC) - Saturday, 25 November 2006, 09:46 GMT
acpid gets started by hal because it should be started before hal. Trying to start it again gives a failure message, since it's already running.
Comment by Eugenia Loli-Queru (Eugenia) - Saturday, 25 November 2006, 09:49 GMT
So, should I remove acpid from my rc.conf then? These changes to scripts should be documented in the Arch news you know, how are we supposed to know about these things? :)

Also, please have a look at GDM's theme crashing after the latest update. It only works with the failsafe theme.
Comment by Jan de Groot (JGC) - Saturday, 25 November 2006, 09:55 GMT
The acpid thing was changed over a year ago, we added it to the hal initscript because it would fail for sure if acpid is started after hal. (hal locks the ACPI files in /proc or /sys, if acpid is running they are locked and hal uses acpid for ACPI support).

About the GDM issue: I can't reproduce it here, gdm gets used everyday with remote terminal logins with all possible sessions listed in gdm. Could you enable debugging in the gdm configuration file and post suspicious things from your logs about it?
Comment by Roman Kyrylych (Romashka) - Saturday, 25 November 2006, 09:58 GMT
GDM hangs at black screen with cursor visible. I use fullscreen gdm theme.
The problem seems to be with libx11-1.1-1. Downgrading to older libx11 helps.
Comment by Eugenia Loli-Queru (Eugenia) - Saturday, 25 November 2006, 10:00 GMT
Sorry, but the FAIL acpid problem only appeared a week ago. The problem is something else then. Anyways, I will try removing it as you claim that it's not needed to be manually loaded anymore.

Regarding gdm, where is its conf file and where do I find the actual debug info? Please include such information on debug requests.
Comment by Eugenia Loli-Queru (Eugenia) - Saturday, 25 November 2006, 10:01 GMT
Roman, exactly the problem I am having with GDM too. The cursor loads, X is loaded too just fine, it's just that GDM doesn't load its themes. I hope that libx11 is fixed soon.
Comment by Jan de Groot (JGC) - Saturday, 25 November 2006, 11:50 GMT
I haven't tested the fullscreen greeter, but does the standard greeter work?
Comment by Roman Kyrylych (Romashka) - Saturday, 25 November 2006, 12:46 GMT
I haven't tested standard greater. Will be able to do this after 5-7 hours only.
Comment by Eugenia Loli-Queru (Eugenia) - Saturday, 25 November 2006, 20:08 GMT
The standard greeter works in our case if we manually try to crash GDM while it's loading the first time. It will then default to the standard one, and it will work from there, WITH an error message saying that the other themes crashed.

Please try to test the other themes that are included with the package too. They were working before.
Comment by Börje Holmberg (linfan) - Saturday, 25 November 2006, 23:09 GMT
I will have to hit ctrl-alt backspace two times before it loads the other theme (?). What other themes are there and how should I try to invoke them?


Regards,

linfan
Comment by Eugenia Loli-Queru (Eugenia) - Sunday, 26 November 2006, 03:21 GMT
Yes, you have to kill GDM manually before you get at the standard theme.
Comment by Börje Holmberg (linfan) - Sunday, 26 November 2006, 22:25 GMT
Switched over to using slim (pacman -R gdm) and (pacman -S slim). Removed gdm from rc.conf and replaced it with slim :)

linfan
Comment by Eugenia Loli-Queru (Eugenia) - Sunday, 26 November 2006, 22:44 GMT
Yeah, well, this doesn't really fix the bug, does it?
Comment by Jan de Groot (JGC) - Sunday, 26 November 2006, 22:45 GMT
Removing the +XEVIE thing from gdm configuration file should work according the threads, but I can't reproduce this bug on my system, with or without XEVIE.

What videocards are you using? all Nvidia?
Comment by Eugenia Loli-Queru (Eugenia) - Sunday, 26 November 2006, 22:49 GMT
ATi Radeon 9000 64MB Mobility Edition. With xorg's driver.
Comment by Eugenia Loli-Queru (Eugenia) - Sunday, 26 November 2006, 22:50 GMT
And again for the second time, you failed to tell us WHERE the gdm configuration resides.
Comment by Roman Kyrylych (Romashka) - Monday, 27 November 2006, 12:19 GMT
/opt/gnome/share/gdm/defaults.conf
/opt/gnome/etc/gdm/custom.conf

Latest libxcb and gdm should fix GDM issues now (but I haven't checked this yet).
Comment by Roman Kyrylych (Romashka) - Monday, 27 November 2006, 12:20 GMT
Bug report for GDM here: http://bugs.archlinux.org/task/5896
Comment by Mathias Nedrebø (lessthanjake) - Monday, 27 November 2006, 14:45 GMT
Latest gdm/libxcb did not fix the problem on my system, I'm using a 915gms intel card.
Comment by Börje Holmberg (linfan) - Monday, 27 November 2006, 18:35 GMT
Ok, got it to work with some help from #archlinux on FreeNode.

I will now explain how I did it.

as root:

1) /etc/rc.d/gdm stop
2) pacman -Rns gdm
3) pacman -S gdm
4) nano -w /opt/gnome/etc/gdm/custom.conf

#add these to the end of the file, leave the file otherwise as it is, don't change anything.

[server-Standard]
name=Standard server
command=/usr/bin/X -audit 0
flexible=true

5) save the file (ctrl+x)
6) answer yes to the file (y)
7) /etc/rc.d/gdm start

With new updates of libx11 and other xorg updates you will have the custom.conf saved as custom.conf.pacsave and you can then just cp it over and get gdm to work again.

Regards,

Linfan

Loading...