Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181963 - x11-apps/xinit: xdm initscript should be configurable to start at the end of init-process
Summary: x11-apps/xinit: xdm initscript should be configurable to start at the end of ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 22:25 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2009-06-19 15:26 UTC (History)
0 users

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


Attachments
xdm.confd-1.diff (xdm.confd-1.diff,684 bytes, patch)
2007-06-14 02:05 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
xdm.initd-1.diff (xdm.initd-1.diff,363 bytes, patch)
2007-06-14 02:08 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
xdm.initd-1.diff (xdm.initd-1.diff,364 bytes, patch)
2007-06-14 13:15 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-06-13 22:25:05 UTC
Hi,

since xinit-1.0.3-r4 the XSTATIVC option is gone which was a perfect way to manage if xdm gets started during init process or at the end of it.
I'm a user who dislikes that early start of xdm very much as I want to see all init-messages before X gets fired up and switches the screen.
So I kindly request to give us users a possibility to configure this behaviour via /etc/conf.d/xdm. It must not necessarily be the XSTATICVT variable to achieve this but PLEASE give us any kind of possibility to do so. 
I know I could edit the xdm-initscript but this is kinda hackish way and I don't want to edit the initscript everytime a new xinit package gets released...

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-06-14 02:05:05 UTC
Created attachment 121978 [details, diff]
xdm.confd-1.diff

This adds a new variable to /etc/conf.d/xdm which handles start of the DM.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-06-14 02:08:38 UTC
Created attachment 121980 [details, diff]
xdm.initd-1.diff

And here the corresonding patch for the /etc/init.d/xdm script.

These two patches should be sufficient to get the old behaviour of starting DM at the end of the init process. Please consider these patches for inclusion. It doesn't hurt those people who wanna have the DM started as early as possible and makes the other users happy as well...
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-06-14 13:15:24 UTC
Created attachment 122026 [details, diff]
xdm.initd-1.diff

fixed patch. In my previous one was a quotationmark missing...
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-06-19 15:26:26 UTC
NAK, I'm pretty sure this can be done with openrc variables inside /etc/conf.d/xdm without changing the init script.

man runscript is where those vars are described.

Thanks