I want to make my remaster dump the user back to text mode instead of sutting down whenever they logout out of the WM (generally KDE). I made a ~/.xinitrc so they can use startx to get back to a window manager from text mode. But how to I make KDE and other WM's change their default action on logout from shutdown to just return to text mode?