1 Exit after the user's session has finished. This works around slim's broken
2 PAM session handling (see
3 http://developer.berlios.de/bugs/?func=detailbug&bug_id=19102&group_id=2663).
5 Patch by Eelco Dolstra, from Nixpkgs.
7 --- slim-1.3.6/app.cpp 2013-10-15 11:02:55.629263422 +0200
8 +++ slim-1.3.6/app.cpp 2013-10-15 13:00:10.141210784 +0200
12 while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
17 void App::KillAllClients(Bool top) {