Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395327 - x11-misc/lightdm-1.0.6-r3 does not start at boot, only from command line
Summary: x11-misc/lightdm-1.0.6-r3 does not start at boot, only from command line
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 22:59 UTC by Small_Penguin
Modified: 2011-12-22 14:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2011-12-19 22:59:52 UTC
I've successfully emerged LightDM and set it in /etc/conf.d/xdm, but it refuses to start automatically at boot and instead hangs at:

DEBUG: Waiting for ready signal from X server :0

I can switch vt, login, kill X, lightdm and manually start it from the command line with /etc/init.d/xdm start.


Reproducible: Always

Steps to Reproduce:
1. emerge lightdm
2. I had no entry for lightdm in /etc/init.d/xdm, so I added one with START_STOP_ARGS="--background", similar to lxdm.
3. Add it to default runlevel with rc-update.
4. Reboot.

Actual Results:  
LightDM does not start, hangs with "Waiting for ready signal from X server :0"

Expected Results:  
LightDM should start up, showing the graphical login screen.


See URL for more information in forum, which might or might not be helpful.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-12-20 00:09:12 UTC
If it starts not at boot but later, then it possibly depends on some service that is launched too late. dbus might be a candidate, see bug 390609 and bug 391275.
Comment 2 Small_Penguin 2011-12-22 14:00:40 UTC
You're right, it was the dbus service as you suspected. Adding it to the use line in /etc/init.d/xdm solved the problem.

Thanks for your help.