LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to kill X through the terminal? (https://www.linuxquestions.org/questions/linux-software-2/how-to-kill-x-through-the-terminal-299714/)

darkarcon2015 03-09-2005 03:02 PM

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.

jxi 03-09-2005 03:17 PM

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)


All times are GMT -5. The time now is 05:33 PM.