1

I'm trying to do this tutorial :

Installing CUDA Under Ubuntu 10.04

I need the command that would completely stop/turn off the x-server. When i try to install the NVidia developer driver, I get a blue screen telling me

Error: cant install with x-server running, please turn it off (something like that)

sudo service gdm stop worked at the time I guess, (didnt give any errors) but the x-server is still running. Is this the command I should be using?

2 Answers 2

2

You should use the service command instead of calling /etc/init.d:

sudo service gdm stop

And then to start it again:

sudo service gdm start
-1

This will kill the server. Press Ctrl+Alt+F1 which moves you to the system console.

sudo /etc/init.d/gdm stop

When installation get complete, you are returned to same command prompt/terminal type screen. Now execute this command to start X SERVER back:

sudo /etc/init.d/gdm start

This will start the X SERVER and you gets the old UBUNTU LOGIN SCREEN

3
  • what do i do when i run the first command (stop). and i get a rather than invoking init, use the service(8) utility. what do i do? can i force it to run without problems?
    – Alex
    Mar 28, 2012 at 17:31
  • I just tested that command in my terminal and it killed the xserver from there too.
    – Ringtail
    Mar 28, 2012 at 19:51
  • it only worked before going in system console. so type the command then press CTRL + ALT + F1 to install the nvidia driver.
    – Alex
    Mar 28, 2012 at 19:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .