Tag Archives: startx

Automatically logout after X is killed

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.