You are not logged in.
HI!
I'm very new to archlinux (I used Ubuntu for some time, but that doesn't really give me Linux knowledge). So I'm using archlinux to get to know Linux better. But I ran into a problem I don't understand. I added dbus to the end of the DAEMON array in rc.conf as stated in https://wiki.archlinux.org/index.php/Da … ng_on_Boot. When I reboot, I get a black screen at the point where the resolution would switch to the displays native resolution. ALT+STRG+F2 seems to do nothing. I tried logging in blindly and reboot, but it doesn't work.
First I wasn't sure what the source of the problem is because I also installed my WiFi driver and firmware before rebooting, and in fact it didn't work after removing the "dbus" from rc.conf. So I booted again from CD and chrooted into the installed archlinux and removed all packages I installed after the last working boot. Then it worked, so I thought it was one of these packages. But after simply adding "dbus" to rc.conf again, it won't boot the next time (/etc/rc.d/dbus start works). After I removed the "dbus" again, it still didn't work (I tried several times and waited a few minutes, nothing visually happens, but the CPU fan is blowing a bit fast). I copied back the backup of /etc that I made earlier. It still didn't work. Then I booted the Windows that is installed on the same computer. I rebooted and suddenly archlinux booted again.
This doesn't make much sense to me. I tried it two more times. After adding "dbus" to rc.conf I can't boot. After removing it again I still can't boot. After either chrooting into the system or booting Windows it works again.
Isn't this the common way of starting dbus automatically? For now I'm fine with starting dbus manually after booting. But I'd really like to understand the problem and also start dbus autmatically when booting.
Thanks in advance for any hints.
Last edited by steeph (2012-01-27 14:14:38)
Offline
I can't imagine how this would cause those symptoms, but dbus should be placed very early in the DAEMONS array, not at the end.
What else is in your DAEMONS?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Currently the line sais only
DAEMONS=(hwclock syslog-ng netfs crond)I'll try it with dbus at the beginning of the array.
Offline
if you are using a desktop manager(eg gdm) dbus has to be listed before that, in daemons.
Offline
It's the same with dbus at the beginning.
This time I had to try three times until it worked (after booting Windows, but I don't see how Windows has anything to do with it ^^).
I forgot to mention: It's the same when choosing Fallback in grub.
Looking at /var/log/boot there is no difference between the logs when it works and when it doesn't. Except for the times when dbus was set in rc.conf:
Fri Jan 27 15:46:03 2012: :: Starting D-BUS system messagebus ^[[201G [BUSY] ^[[201G [DONE] Offline
if you are using a desktop manager(eg gdm) dbus has to be listed before that, in daemons.
I added gdm after dbus in the array. Now it works. Thanks a lot!
I see, there's still a lot to learn for me, great ![]()
Last edited by steeph (2012-01-27 14:15:38)
Offline
I'd start dbus after syslog-ng, to make sure everything is logged.
Offline