Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 389039

Summary: /etc/init.d/xdm must start x11-misc/lightdm in background
Product: Gentoo Linux Reporter: Tobias Wallura <Tobias.Wallura>
Component: New packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, x11
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xdm.init-3.patch

Description Tobias Wallura 2011-10-30 21:55:20 UTC
The display manager lightdm must be explicitly started in the background by the init script /etc/init.d/xdm.
The init script belongs to the package x11-base/xorg-server.

Reproducible: Always

Steps to Reproduce:
1. Set DISPLAYMANAGER="lightdm" in /etc/conf.d/xdm
2. /etc/init.d/xdm start
Actual Results:  
The init scripts start procedure waits until lightdm exits. This behavior blocks the execution of all succeeding init scripts.

Expected Results:  
lightdm should be started and continue running in the background.
Comment 1 Tobias Wallura 2011-10-30 21:58:27 UTC
Created attachment 291311 [details, diff]
xdm.init-3.patch

This patch modifies the /etc/init.d/xdm script to start lightdm in the background. This should be applied to the file files/xdm.init-3 of the package x11-base/xorg-server.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-10-30 22:49:02 UTC
@x11 team

I will test this patch and apply it if it works for me withing the next 48 hours. If you have any objections please let me know
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-11-01 22:52:53 UTC
Fixed. Thanks for the patch and the bug report
Comment 4 Fabian Köster 2011-12-06 20:11:41 UTC
*** Bug 392589 has been marked as a duplicate of this bug. ***