Find the answer to your Linux question:
Results 1 to 3 of 3
I am trying to kill X so I can finish install of new graphics drivers (kernel module). I use a terminal to run init 3 and at first it appears ...
  1. #1
    Just Joined! mitchpotter's Avatar
    Join Date
    Jan 2008
    Location
    Orlando
    Posts
    19

    Init 3 may not be working properly

    I am trying to kill X so I can finish install of new graphics drivers (kernel module). I use a terminal to run init 3 and at first it appears to work. Once I get the full screen terminal/command line interface I type runlevel to make sure I am at 3 but it returns "5 3" as if it is in both runlevels. Am I using the command incorrectly? Is the output correct for runlevel 3?

    Code:
    ... # init 3
    ... # runlevel
    5 3
    What other commands could I use to be absolutely sure X windows is shutdown so I can install kernel module for display driver?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    If you have run the command "init 3" as root, then you are in runlevel 3, so proceed with the driver installation.

  3. #3
    Just Joined! vitalka's Avatar
    Join Date
    Oct 2004
    Location
    Toronto, ON
    Posts
    77
    runlevel displays your previous and current runlevel.

    5 was your previous runlevel (N is displayed if there is no previous runlevel)
    3 is your current runlevel

    read man pages for runlevel, first paragraph explains it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...