1 Sep 2004 15:14
Re: Re: Minimalist display manager
Tony Houghton <h <at> realh.co.uk>
2004-09-01 13:14:52 GMT
2004-09-01 13:14:52 GMT
In <pan.2004.09.01.08.37.36.559852 <at> operamail.com>, Kim Carlsen wrote: > > I've tried a script to run startx via su as the last init script, but for > > some reason it doesn't work - something to do with Xauthority IIRC. On one > > of my boxes I've got a similar script working from inittab, but I'd rather > > have it as an /etc/init.d service like gdm. > > *** Off topic *** > I have tried doing something similar(but with a different approach), > I have tried moving the gdm to launch as the first thing in the > background(moved it to be the first init.d script), since my desktop > enviroment have no obvious dependencies on the rest of the system > services, I figured it would be nice if the desktop was available > instantly after the kernel has bootet. > > This doesnt work at all since the keyboard then will be broken(not able to > type anything). I havent been able to figure out why, is this the same > that happens with your 'su startx'? > If it is and you find a solution please post it. I think your basic idea is good, a parallel boot sequence could really speed it up. There's probably another init script to set up the keyboard etc which you've missed, if you can just find what it is it might work. I think Gentoo has a useful system where you can make one init script depend on others, so if you run one before its dependencies have been run, it will automatically run them first. I once laid awake for hours thinking about combining the two ideas for a great new init system. I did achieve a bit of parallelism when I was using a USB ADSL modem. You had to initialise it first, by uploading the firmware IIRC, then run(Continue reading)
RSS Feed