PDA

View Full Version : closing X telinit 3


nebel
2004-08-11, 10:21 PM CDT
Hi :),
I´m trying to install a driver for my NVIDIA graphics card and to do this I need to close the X windows sytem.
The instructions I was following said to open a terminal, enter su mode then type: telinite 3.
Sadly this is as far as I got:

[ben@localhost ben]$ su
Password:
[root@localhost ben]# telinit 3
bash: telinit: command not found
[root@localhost ben]#

Is there another way I can close X ?

imdeemvp
2004-08-11, 10:24 PM CDT
or you can use this keyboard combination: Ctrl + Alt + F1 that will take you to text mode and init 5 will bring you back to GUI mode

nebel
2004-08-11, 10:35 PM CDT
Thanks for the reply :)
Ctl Alt F1-F6 still leaves X open. I know because I tried this and the installation program tell me X is still open.
Do you know any specific command to close X or boot up without it?

Mat
2004-08-11, 10:40 PM CDT
telinit lies in /sbin/ which is not in the user's path variable..

so you have 3 possibilities:
1. use "su -" (creates a login session, and uses root's path variable [which contains /sbin/])
2. use "/sbin/telinit 3"
3. as imdeemvp pointed out, pressing Ctrl-Alt-F1 gives you a text console, their, you can login as root


Mat

nebel
2004-08-12, 12:47 AM CDT
Thanks Mat, the command /sbin/telinit 3 closed X and then the sh instalation ran like a dream.
My nvidia graphics hard now has a nvidia driver. :D

Mat
2004-08-12, 07:50 AM CDT
that's good to hear