Hi again! About my previous answer - you can use that ONLY if you are NOT root, else your system locks. A better way of doing this: The script 10session-clean-startup I wrote before may contain: PWD=`pwd` ( cd /tmp for TMPFILE in `find . -xdev -user ${USER} -a \( -name "*${USER}*" -o -name "*${UID}*" \) -print` do rm -rf $TMPFILE done cd $PWD ) This works for root login, too.