Bug 83680 - Add "nox" option parsing to xdm init script/startDM.sh
Bug#: 83680 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: wolf31o2@gentoo.org
Component: Ebuilds
URL: 
Summary: Add "nox" option parsing to xdm init script/startDM.sh
Keywords:  Inclusion
Status Whiteboard: 
Opened: 2005-03-01 06:22 0000
Description:   Opened: 2005-03-01 06:22 0000
I'm not sure where this goes, or where th ebest location for it would be, but I
would guess the xdm init script.

Anyway, I think that if "nox" is passed on the kernel command line, that X
should not auto-start.  This would be useful for those of us that use binary
drivers and forget to update them when they update a kernel, and also for the
LiveCD, to skip auto-starting X.

------- Comment #1 From Donnie Berkholz 2005-05-25 04:01:35 0000 -------
I think this is a workaround to a pebkac, particularly with the advent of stuff
like module-rebuild.

------- Comment #2 From Chris Gianelloni (RETIRED) 2005-05-25 06:04:21 0000 -------
> and also for the LiveCD, to skip auto-starting X

Yeah, but this is *not* a user error.  This is a valid request and I am simply
trying to keep form having to build in some dirty hack into livecd-tools or
genkernel to work around this lack of flexibility.

*grin*

If you really don't want it in the normal init script, just let me know and I'll
hack up something for the LiveCD.

------- Comment #3 From Donnie Berkholz 2005-05-25 06:30:13 0000 -------
I don't see that xdm is even a good thing to be running on the livecd. Just
startx.

------- Comment #4 From Chris Gianelloni (RETIRED) 2005-05-25 06:56:38 0000 -------
*sigh*

I'm using GDM on the upcoming LiveCD as a display manager.  This allows the user
to easily select their preferred environment.

I've already been using this and don't really plan on changing unless someone
else wants to write me some easy wrapper or chooser capable of allowing the user
to decide what desktop environment (or window manager) they wish to use, plans
on putting it in portage, and maintaining it.

Anyway, I am starting xdm in the default runlevel, so there really is no method
currently for the user to be able to bypass starting X.  Since we already have a
precident for both noX (older GameCD/LiveCD images) and using no* to turn off
features at boot, I thought it would be best suited to simply add it into the
official init script.

------- Comment #5 From Donnie Berkholz 2005-05-25 09:08:20 0000 -------
Didn't livewire already write something that did that a while ago? I remember a
cool little chooser between at least fluxbox and kde.

------- Comment #6 From Donnie Berkholz 2005-07-07 14:42:29 0000 -------
Created an attachment (id=62864) [details]
xdm.start.nox

------- Comment #7 From Donnie Berkholz 2005-07-07 14:42:58 0000 -------
Try out that patch, let me know how it works.

------- Comment #8 From Donnie Berkholz 2005-07-08 15:26:41 0000 -------
In 6.8.2-r2 fileset 0.6, 6.8.99.14 fileset 0.2.