LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-30-2009, 07:59 AM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Rep: Reputation: 68
Killing an X Server


I am using multiple X servers to run my different games as they tend to run at a slightly higher frame rate (especially in the case of wine/cedega games) I have it setup so that the new X server terminates after the program closes but on the occasion that my game crashes I have an extra X server floating around until I reboot. How I can kill off just my extra X servers (so all those other than my primary one)

Thanks,
~Jeff
 
Old 06-30-2009, 09:28 AM   #2
pengrath
LQ Newbie
 
Registered: Feb 2009
Distribution: Arch
Posts: 13

Rep: Reputation: 0
If the xserver has not completely crashed and still catches signals you can use 'ctrl + alt + backspace'

newer X needs a parameter added to /etc/X11/xorg.conf
Section "ServerFlags"
Option "DontZap" "False"
EndSection

other then that you can search out the pid and use the kill command

#ps -A | grep Xorg
11210 tty7 00:03:19 Xorg
20154 tty9 00:00:03 Xorg
#kill 20154

the only problem with doing it this way is you need to know the order you started Xorg or which tty each is running on.

Last edited by pengrath; 06-30-2009 at 09:30 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL killing the server michux Linux - Server 12 07-06-2007 07:02 PM
server is killing my harddisks Jasper Tiemann Linux - Hardware 7 05-14-2007 06:30 AM
Apache killing my server newlinuxnewbie Linux - General 4 10-11-2005 11:49 PM
killing X server (and some more) kulmis Linux - Newbie 3 09-02-2004 06:31 PM
Killing X Server in Lorma MadDogE134 Linux - Newbie 2 06-16-2004 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 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