LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2004, 03:30 AM   #1
NoS Sr50
Member
 
Registered: Sep 2004
Distribution: Mandrake 10.0 Download
Posts: 66

Rep: Reputation: 15
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
 
Old 09-05-2004, 04:34 AM   #2
Mr.Bill.Gates
Member
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55

Rep: Reputation: 15
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
 
Old 09-05-2004, 04:34 AM   #3
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
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.



Last edited by redjokerx; 09-05-2004 at 04:36 AM.
 
Old 09-05-2004, 04:36 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
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
 
Old 09-05-2004, 07:57 AM   #5
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
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.
 
Old 09-05-2004, 08:06 AM   #6
MobyTurbo
Member
 
Registered: May 2002
Location: Brooklyn, NY
Distribution: Slackware
Posts: 45

Rep: Reputation: 15
su to root inside of X and typing "/sbin/telinit 3" also works.
 
Old 09-05-2004, 01:06 PM   #7
NoS Sr50
Member
 
Registered: Sep 2004
Distribution: Mandrake 10.0 Download
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MobyTurbo
su to root inside of X and typing "/sbin/telinit 3" also works.
Ok I did that and it brought me to this big terminal, and I need to CD to my home directory but dont know how... I triec cd root/robert/home...didnt work
 
Old 09-05-2004, 02:32 PM   #8
NoS Sr50
Member
 
Registered: Sep 2004
Distribution: Mandrake 10.0 Download
Posts: 66

Original Poster
Rep: Reputation: 15
If anyone knows how to CD to my home directory after shutting of the x server it would be nice
 
Old 09-05-2004, 02:38 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If your user name is robert:

cd /home/robert

should do the trick.
 
Old 09-05-2004, 10:29 PM   #10
gaviidae
Member
 
Registered: Jun 2004
Location: West Michigan
Distribution: limping along with MD10, Knoppix3.6 : )
Posts: 62

Rep: Reputation: 15
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 :))))

Last edited by gaviidae; 09-05-2004 at 10:30 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to close X server on Redhat 9? Spy47 Linux - Newbie 4 08-22-2004 12:17 PM
X server crashes on close mtyrce Linux - Software 3 07-09-2004 04:19 PM
How do I close my X server? kkj Linux - Newbie 2 04-06-2004 12:59 AM
Close X Server? JREAMER Linux - General 3 06-08-2003 06:02 PM
how to keep pppd on during x-server close?? wr3ck3d Linux - Software 2 03-27-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration