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!