--On Thursday, 05 September 2002, 09:00:45 AM, Colin Watson <[EMAIL PROTECTED]> 
wrote:
> On Wed, Sep 04, 2002 at 06:22:18PM -0700, Alvin Oga wrote:
> > - if you cann ssh-in.... 
> >     if you can see X processes... kill those you dont want
> >     or blinly kill X11
> >             "init 3 ; sleep 5 ; init 5"
> 
> This is a Red Hat-ism. In Debian there's no difference between runlevels
> 3 and 5 by default, although of course you can set them up to behave
> that way if you like.
It might be a Red Hat-ism, but you _can_ use init to go down to
single-user mode, which would stop the X server. In this case you would
do something like:
    init 1; sleep 5 ; init 2
replacing the "2" with whatever your default multi-user runlevel is.

--Matthew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to