LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to kill X on remote machine (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-kill-x-on-remote-machine-76701/)

fettouhi 07-28-2003 03:02 PM

how to kill X on remote machine
 
Just wondering if I lock myself on an external machine with

X -query <host_address>_:1

how can I kill this X connection. I know how to switch between my own desktop and the desktop on the remote machine but I don't know how to kill X there.

Kind Regards

André Fettouhi

:(

Tinkster 07-28-2003 04:32 PM

ssh to the box
ps aux | grep <your user ID>

locate your X session
kill -9 <your X session's PID>

:}

Cheers,
Tink


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