My radical ascetic replacement for 'SLIM'

I never launched 'X' with command 'startx' and used a 'SLIM', to be sure that an attacker cannot gain access to my shell, if he switched to terminal with working 'startx' and killed the process 'X'.

I hate 'SLIM' and other login managers.
At last week I have found elegant solution for that trouble.

This solution is extremely easy: you must add this line to your .bashrc or config file for your favorite command shell (Z-shell for me):
alias startx='startx && exit'
That's all! You may run X-server using command 'startx'. When 'X' process is stopped, shell automatically closes. Have fun!


Share/Save/Bookmark

No comments: