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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xkiller-1.0.1.tar.gz.
File metadata
- Download URL: xkiller-1.0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b6171ef8161a1d169656bc4e84afae46059bdd6f73cc761b62c01e4296f1c0
|
|
| MD5 |
5dcdd806d86b07882e5750e4c98cfdba
|
|
| BLAKE2b-256 |
85ace8e246e154640f54676a3569b0d337997635fe8253afb4d91e67fc683db6
|