logo
Jiff Slater
🤔 About
✍️ Contact
📚Knowledge
30 Jul 2021
These articles have been archived. You may find them useful but I am no longer offering support for them. Check out my latest articles on plkt.io.
Automatically logout after X is killed
10 August 2008

Simply alias startx to ‘exec startx’.  For added convience, place it in /etc/bashrc, /etc/zshrc, or /etc/profile.  Note, that if you run ‘startx 2>&1 | tee startx.log’, this trick will fail.