The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    shut down x server?

    Discussion in 'Linux Compatibility and Software' started by jl1989, Oct 11, 2008.

  1. jl1989

    jl1989 Notebook Evangelist

    Reputations:
    9
    Messages:
    584
    Likes Received:
    0
    Trophy Points:
    30
    trying to install nvidia graphics card. and it keeps giving me an error that x server is still running, on hardy heron
     
  2. Ethyriel

    Ethyriel Notebook Deity

    Reputations:
    207
    Messages:
    1,531
    Likes Received:
    0
    Trophy Points:
    55
    Debian and distros based on it don't use traditional runlevels. Typically, runlevel 3 will be text mode, and runlevel 5 will be graphical. In that scenario, you can just use 'telinit 3' and 'telinit 5' to switch back and forth. Without that, and GDM running as a daemon, it's rather a pain.

    Not running a Debian based distro at the moment, I think 'killall gdm' followed by ctrl-alt-backspace should do it for you. But I'm not sure if that will bypass the respawning in inittab.

    If not, 'telinit 1' may get you where you need, but I don't think the network or anything else will start automatically.
     
  3. jl1989

    jl1989 Notebook Evangelist

    Reputations:
    9
    Messages:
    584
    Likes Received:
    0
    Trophy Points:
    30
    lol i tried sudo killall gdm and my screen went blank :D
     
  4. jl1989

    jl1989 Notebook Evangelist

    Reputations:
    9
    Messages:
    584
    Likes Received:
    0
    Trophy Points:
    30
    nothing worked :( it just logs me out
     
  5. lowlymarine

    lowlymarine Notebook Deity

    Reputations:
    401
    Messages:
    1,422
    Likes Received:
    1
    Trophy Points:
    56
    From the desktop, hit Ctrl+Alt+F1 to drop to a terminal. Then log in and type "sudo /etc/init.d/gdm stop". Enter your password when prompted, and wait for X to stop. There you go.

    However, why can't you just use the restricted drivers manager (System -> Administration -> Hardware Drivers)? Installing the binary blob directly from nVidia's website rarely goes smoothly, and mistakes could end up breaking your X server.
     
  6. Ayle

    Ayle Trailblazer

    Reputations:
    877
    Messages:
    3,707
    Likes Received:
    7
    Trophy Points:
    106
    log-off then type alt+f2
    and then:
    Code:
    sudo /etc/init.d/gdm stop
    to close x-server and the gnome display manager. Install your driver then when you're back to the terminal just type :
    Code:
    sudo /etc/init.d/gdm start
    to get the gui back.
     
  7. jl1989

    jl1989 Notebook Evangelist

    Reputations:
    9
    Messages:
    584
    Likes Received:
    0
    Trophy Points:
    30
    hdmi output doesnt work with restricted drivers, so trying nvidia ones
     
  8. jl1989

    jl1989 Notebook Evangelist

    Reputations:
    9
    Messages:
    584
    Likes Received:
    0
    Trophy Points:
    30
    My screen just goes blank with both ways :S even terminal gone.... :O =/ =/
     
  9. Amranu

    Amranu Notebook Consultant

    Reputations:
    103
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    30
    Ubuntu isn't very well configured for fooling around outside the GUI, I guess. Rather unfortunate.
     
  10. Ayle

    Ayle Trailblazer

    Reputations:
    877
    Messages:
    3,707
    Likes Received:
    7
    Trophy Points:
    106
    I'm not use it is an ubuntu issue.... Why would the everything go blank....

    One thing that the OP might try is booting in recovery mode but I've never tried installing anything from that so I'm not sure about how that would go. But you boot in shell mode.
     
  11. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    try envy to install the nvidia driver for you?