LinuxQuestions.org
Help answer threads with 0 replies.
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 05-27-2004, 03:58 PM   #1
Fe98
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 49

Rep: Reputation: 15
How do I shutdown X?


Hi, I'm trying to install the NVIDIA drivers for my graphics card and I need to shutdown X. I haven't got slightest idea how to do this so could someone please help? Thanks.
 
Old 05-27-2004, 04:00 PM   #2
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
the command init 3 should do it, just press Ctrl - Alt - F2 to get to another terminal and type the command. Ctrl-Alt-Backspace will also stop the x windows system depending on your distro configuration. type startx to start it back up.

Last edited by lyceum; 05-27-2004 at 04:06 PM.
 
Old 05-27-2004, 04:01 PM   #3
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
control+alt+backspace will just restart x i think.

just type init 3 in the root console and you will go to runlevel 3 (text mode)

Last edited by sh1ft; 05-27-2004 at 04:02 PM.
 
Old 05-27-2004, 06:48 PM   #4
hexadevil
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
This might not be the case. Depending on the system, he may already be in runlevel 3, but may be running X. Gentoo Linux, for instance, only uses 1 default runlevel. If you want to boot into a GUI, you just add gdm to your rc.conf

But anyway, back on target.

If changing runlevels doesnt work...
#> ps auxww | less
(X is running somewhere towards the bottom of the list)
get the PID of the X process
#> kill -9 [insert PID here]
that will definitely kill X
then you can go ahead an sh your nvidia installer
once your nvidia installer is done,
make sure you edit your XF86config so that it loads glx, but you disable dri
change your driver from nv to nvidia
and then finish with
#> opengl-update nvidia
This is how I always set up my nvidia drivers.

Hope it helps =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 11:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 03:49 PM


All times are GMT -5. The time now is 06:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration