Skip to main content
Help us improve Python packaging – donate today!

Daemon that kills X sessions

Project Description

py-xkiller

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 http://time.kaashif.co.uk/end
  • If it is, quit - the challenge is over
  • Checks if there are any daemons with the binary name “X” or “Xorg” and kills them.

Installing

$ pip3 install xkiller

Running

$ 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/xkiller.pid will be the PIDfile, if not, /tmp/xkiller.pid is the PIDfile. Also, you can specify a PIDfile like so:

$ xkiller /home/kaashif/mypidfile.pid

Release history Release notifications

This version
History Node

1.0.1

History Node

1.0.0

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
xkiller-1.0.1.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Jun 17, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page