I need to close x server, how?
I need to close x server to install nvidia driver updates, any clue on how to do this
|
Go to the first virtual console with Ctrl+Alt+F1. Login as root and type
# init 3 to switch to single user command line mode. Update your driver (as described in README or somewhere else, I don't know :)). Then type # init 5 |
ctrl+alt+backspace. That will shutdown/restart the X server. If you booted into X, then it'll restart, but if you booted into command line, it'll drop you back to it. If you boot into X which i'll assume you do since you're running mandrake, change /etc/inittab line from
id:3:initdefault: to id:5:initdefault: there should be a a guide at the top to help you out just in case 5's the wrong number. |
Press CTRL-ALT-F2, log in as root, then type in /sbin/init 3. That will put you in text mode ready for the nVidia install.
Baldrick |
You don't even need to press ctrl-alt-f2. If you type it in a terminal window (as root) that'll kill your X server just as well.
|
su to root inside of X and typing "/sbin/telinit 3" also works.
|
Quote:
|
If anyone knows how to CD to my home directory after shutting of the x server it would be nice :)
|
If your user name is robert:
cd /home/robert should do the trick. |
you can just type
cd and then type pwd that'll show you that you're at home. Nice thing about UNIX... they make it easy sometimes for us lazy types :) typing "cd" automagically sends you home, like clickin your red shoe heels three times :)))) |
All times are GMT -5. The time now is 01:31 AM. |