Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401373 - LiveDVD-12.0: addition of "nox" to kernel commandline prevents even manual xdm startup
Summary: LiveDVD-12.0: addition of "nox" to kernel commandline prevents even manual xd...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Team Anniversary
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 378027
  Show dependency tree
 
Reported: 2012-01-29 17:42 UTC by Martin Mokrejš
Modified: 2012-01-30 17:39 UTC (History)
0 users

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 Martin Mokrejš 2012-01-29 17:42:02 UTC
I was used to start LiveCD/DVD with "nox" for speed and eventually do

/etc/init.d/xdm start


That is now not possible because the script parses kernel commandline and hence will always refuse to fire up the window manager. How can one proceed?

I also tried mounting my on-harddisk filesystem with full Gentoo, chrooting into there from LiveDVD but I failed as well. I understand there is lots to do on the release media side ... but do know of a solution? Pathcing xdm startup script in release media?
Comment 1 Fernando (likewhoa) 2012-01-29 18:44:57 UTC
the xdm init script will look for /etc/.noxdm when running 'rc-service xdm start' to get around this you need to run 'rc-service xdm restart'. With regards to your issue chrooting, please file a separate bug report with logs.
Comment 2 Martin Mokrejš 2012-01-30 14:49:00 UTC
(In reply to comment #1)
> With regards to your issue chrooting, please file a separate bug report
> with logs.

Filed a bug #401523
Comment 3 Martin Mokrejš 2012-01-30 14:53:43 UTC
(In reply to comment #1)
> the xdm init script will look for /etc/.noxdm when running 'rc-service xdm
> start' to get around this you need to run 'rc-service xdm restart'. 

Gentoo-2012 ~ # /etc/init.d/xdm start
 * Skipping kdm, /etc/.noxdm found or "nox" bootparam passed.
Gentoo-2012 ~ # ls -la /etc/.noxdm
ls: cannot access /etc/.noxdm: No such file or directory
Gentoo-2012 ~ #

Ahh, the "restart" ...

# /etc/init.d/xdm restart
 * Setting up kdm ... [ ok ]
Gentoo-2012 ~ #


Wow, works! Could the 'Skipping kdm, /etc/.noxdm found or "nox" bootparam passed.' message give a hint that with 'restart' one could override the behavior?
Comment 4 Fernando (likewhoa) 2012-01-30 16:46:50 UTC
no because the first time you run 'rc-service xdm start' it finds /etc/.noxdm then stops, this is why 'rc-service xdm start' doesn't work because now this time it sees that it's part of the kernel line. People that boot with 'nox' are assumed they won't run X.
Comment 5 Martin Mokrejš 2012-01-30 17:39:09 UTC
I do not understand why the message couldn't be extended, sorry.