How do we kill a resource/process in Linux? Obviously we find the PID of the resource and then pass the PID to the kill command. xkill utility forces X server to close communications to its client which results into killing of client by its X resource. xkill which is a part of X11 utilities is very handy in killing unnecessary windows.