If you are using KDM, then the following magical command will do the same as "Start New Session" from KDE:
echo -e "reserve" > ${XDM_MANAGED%%,*}
This works for me when executed from IceWM.
I got this from going through the KDE source code, since Google couldn't help me on this one. I know this is answer is a little late, but I want to have this solution out so that the numerous others that have asked this question can get an answer via a search engine.
|