Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Daemon that kills X sessions

Project Description


A daemon that is intended for use in a “No X sessions” challenge.

Essentially, every so often, the daemon:

  • Checks if the system time is past the time stored at
  • If it is, quit - the challenge is over
  • Checks if there are any daemons with the binary name “X” or “Xorg” and kills them.


$ pip3 install xkiller


$ xkiller

(it will daemonize itself)

You may want to run it as root, so it can actually kill sessions started by display managers etc.

If run as root, /var/run/ will be the PIDfile, if not, /tmp/ is the PIDfile. Also, you can specify a PIDfile like so:

$ xkiller /home/kaashif/

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(1.7 kB) Copy SHA256 Hash SHA256
Source None Jun 17, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting