LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-27-2005, 03:51 PM   #1
Daejavu
Member
 
Registered: Jul 2005
Distribution: Ubuntu . Athlone XP 2600, 512 MB Ram
Posts: 56

Rep: Reputation: 15
Exclamation Shutting Down the X Windows


hi ..

iam installing the Nvidia Display Driver and when i run it , it says that iam running an XServer and need to shut it down first ! i press Ctrl+Alt+F2 and get on the terminal but how do i shutdown the xserver ?
 
Old 07-27-2005, 03:59 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
This depends on your distribution. On gentoo, it's
Code:
/etc/init.d/xdm stop
 
Old 07-27-2005, 04:00 PM   #3
Exempt
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
su to root and type '/sbin/init 3' and enter... Seems to work for me on various distros ive tried...
 
Old 07-27-2005, 04:00 PM   #4
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Platform independent:
Code:
# killall -9 X
 
Old 07-27-2005, 04:19 PM   #5
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
Quote:
Originally posted by TruckStuff
Platform independent:
Code:
# killall -9 X
Killing -9 is not nice as it does not give it an opportunity to close connections and 'neatly' shutdown. Kill -1 or -15 would be a good thing to try first.
 
Old 07-28-2005, 09:22 AM   #6
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Ctrl-Alt-Backspace key combination kills X.
 
Old 07-28-2005, 09:25 AM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
Quote:
Originally posted by Kdr Kane
Ctrl-Alt-Backspace key combination kills X.
However, if you run xdm/gdm/etc, X will automatically be restarted by them.
 
Old 07-28-2005, 09:34 AM   #8
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Thanks. That's good to know.

I learned about the key combination yesterday. And KDE kept restarting. But, if I did the key combination several times, it eventually stopped.

I'm trying to figure out why KDE keeps restarting. And it sounds like those other Window Managers do the same thing.
 
Old 07-28-2005, 09:52 AM   #9
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: West Sussex, England
Distribution: Gentoo
Posts: 1,457

Rep: Reputation: 45
Same reason the non-graphical login prompt always respawns - If it didn't, the login screen would only let you log in once, and then you'd have to use another terminal
 
Old 07-28-2005, 09:59 AM   #10
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
ahhh...

I get it. It worked (killed) because I started X from the command line with startx.

That clears up my question.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
asus p4p800 e deluxe LAN stop running on WINDOWS after shutting down from SUSE 9.3 KURY Linux - Hardware 2 11-18-2005 05:04 AM
Shutting down x? Shady195 Linux - Newbie 2 10-16-2005 08:14 PM
Linux shutting down a windows machine. Pozican Linux - Networking 3 04-28-2005 05:57 PM
Shutting Down emperorjordan Mandriva 1 02-23-2004 01:10 PM
shutting down linux from windows dave308 Linux - Networking 9 12-13-2001 08:09 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration