how do I stop x window?

Asked by Bob Crawford

In order to install a downloaded NVIDIA driver in ubuntu, the instructions say that the x window system must not be running.
I do not know how to stop x window from the non-graphic console, or how to boot directly to the console without x window being loaded.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
draeklae
Solved:
Last query:
Last reply:
Revision history for this message
Best draeklae (augusto-bodanese-deactivatedaccount) said :
#1

You can press Ctrl+Alt+F1 to access tty login. Then, you can, after logging in, type:

sudo /etc/init.d/gdm stop
(for GNOME)

sudo /etc/init.d/kdm stop
(for KDE)

This should stop X.

Revision history for this message
kabotage (kabotage) said :
#2

yep and you can start it by typing

sudo gdm or sudo kdm

or

try installing envyng, then

ctrl+alt+backspace to restart x

Revision history for this message
Bob Crawford (bob-j-crawford) said :
#3

Thanks draeklae, that solved my question.