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

Bug 284722

Summary: x11-apps/xinit should check for presence of /etc/init.d/.noxdm instead of nox on the kernel command line
Product: Gentoo Linux Reporter: William Hubbs <williamh>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal CC: email
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 281827    

Description William Hubbs gentoo-dev 2009-09-12 19:33:49 UTC
All,

I have looked over the code in autoconfig, but I do not see where I went
wrong with the patch.

Basically, if you specify speakup.synth on the command line, I don't
want X to start.  Also, this applies with brltty=, but I can't test that
since I do not have a braille display.

Currently, X does start.  I'm not sure if this is an issue in autoconfig
or if X is being started somewhere else.

Can you take a look and assist with debugging this?
Comment 1 William Hubbs gentoo-dev 2009-09-13 22:25:28 UTC
All,

I originally thought this was an issue with the livecd-tools package,
but that is not the case.

The livecd-tools package creates a file, /etc/init.d/.noxdm when the
user requests that x not be started.  This is done because there are
several kernel command line options that request this other than nox.

Currently, the xdm init script checks the kernel command line for nox
instead of checking for the existance of /etc/init.d/.noxdm.  This leads
to xdm attempting to start in situations when it shouldn't start, such
as when brltty or espeak are requested.

Can you please modify the script to check for /etc/init.d/.noxdm instead
of checking for nox on the kernel command line?

Thanks,

William

Comment 2 RĂ©mi Cardona (RETIRED) gentoo-dev 2009-09-13 22:33:50 UTC
Let's continue the discussion in bug #156570.

Thanks

*** This bug has been marked as a duplicate of bug 156570 ***