[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init 3 does nothing



Colin Watson wrote:

> hugge@bigfoot.com wrote:
> >I'm running debian 2.0, and thinking about upgrading to 2.1.
>
> Hmm, you should probably go for 2.2 now, if you can ...

Well, first things first - upgrade 2.0 to 2.2 isn't supported!

> >I want to shut down X, so that I can do some upgrading of  X-related
> >stuff, without sawing off the branch I'm standing on, so to speak.
> >
> >I was advised to try 'init 3', but this does nothing.
>
> You've been talking to Red Hat users :) Debian has a different runlevel
> architecture, so there's no non-X runlevel.
>
> Try '/etc/init.d/xdm stop' to shut down the X Display Manager. I wasn't
> around at the time of Debian 2.0, so if /etc/init.d/xdm didn't exist
> then look through /etc/init.d and see if there's anything similar.
>
> Alternatively, you could always just Ctrl-Alt-F1 and log in there; even
> if X dies it won't matter, as you won't be depending on it.

Your 2nd suggestion worked OK, but I wonder if it wouldn't be possible to define a new
(unused) runlevel that doesn't start X (say 7) and then 'init 7' whenever I feel like
shutting down X? Does this sound possible, and if so, how do I find out how to do it?

--
Best regards,
Peter Hugosson-Miller

begin:vcard 
n:Hugosson-Miller;Peter
x-mozilla-html:TRUE
org:Industri-Matematik International
version:2.1
email;internet:pehu@im.se
title:Software Development Specialist
tel;fax:+468 676 5010
tel;home:+468 756 93 58
tel;work:+468 676 52 70
note:Private mailto: hugge@bigfoot.com    Personal Homepage: http://www.netg.se/~hugge/
adr;quoted-printable:;;Kungsgatan 12-14=0D=0ABox 7733;103 95  Stockholm;;;Sweden
x-mozilla-cpt:;65535
fn:Peter Hugosson-Miller
end:vcard

Reply to: