Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-09-2005, 03:02 PM   #1
Registered: Jun 2004
Location: Potsdam, NY
Distribution: Fedora Core 6
Posts: 201

Rep: Reputation: 30
How to kill X through the terminal?

Does anyone know how to kill X through the terminal? Is there a command or do I just have to kill all the KDE processes? Thanks a lot.
Old 03-09-2005, 03:17 PM   #2
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
Did you start X thru a login screen (kdm / xdm running? ) Yu can probably type

init 3

from a root term. (and if you're in runlevel 4 only tty6 will be available. At least that's how it works for me in slackware)

Otherwise (if you began with startx)

just kill the startx EDIT: sorry this isn't the case. startx is not the parent process. you have to (`ps aux`, get the pid of /usr/X11R6/bin/X) `kill -9` (pid-of-X)

Last edited by jxi; 03-11-2005 at 07:50 AM.


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
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 04:47 PM
can't kill X from the terminal dr_zayus69 Linux - Software 7 06-12-2009 03:28 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 07:35 PM
Kill command could not kill Kanaflloric Linux - General 11 08-22-2005 08:18 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 03:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 AM.

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