#!/bin/bash
#
# ::copy::
# ::maintainer::
#
# executed by gdm AS ROOT after user session logout
# LOGNAME and HOME points to the right values
#

# debug stuff
exec >> /tmp/gdm.log 2>&1
echo ">>>> EXECUTING gdm-logout"
id
env
# end debug

su $LOGNAME -c \
   "ku-x11-wrapper --size 120x15 --pos BL ku-sync-session --upload auto"

exit 0
