On Sun, Jun 10, 2001 at 01:15:02PM +0100, Glyn Millington wrote: > vester <a9900876@unet.univie.ac.at> writes: > > > one possibility would be to edit your /etc/init.d/windowmanager-script > > (that is, xdm gdm kdm or whatever you are using)...just put in "exit" into > > the first line then they won't start and you'll stay in console... > > > > you could simply delete the scripts but you shouldn't do that (because i > > did and now, on a reinstall of gdm i get an error that /etc/init.d/gdm > > doesn't exist...and if i create it again installation goes ok, but it > > doesn't reinstall the script either...) > > > > Ah yes - the magical incantation require to adjust the rc.d scripts is > > update-rc.d which will strip out the commands to start your display manager. > > update-rc.d -f gdm remove > > Read man update-rc.d before you try it though! Note that if you use this method, the startup links will be reinstalled the next time you upgrade gdm. What you need to do is remove the S links but leave the K links. One way to do that (as root) is this: find /etc/rc?.d -name S\*gdm | xargs rm Ideally, update-rc.d would have a disable option that performed this step, and there is a bug opened on this. I was working on a patch last week but haven't got very far yet ... Cheers, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:nnorman@micromuse.com | -- Patton
Attachment:
pgp1x0o9cqJWo.pgp
Description: PGP signature