#! /bin/sh
# Xreset - run as root after session exits

# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm. See Xstartup.
#
chown root /dev/console

exec sessreg -d -l $DISPLAY -x /usr/local/share/config/kdm/Xservers -u /var/run/utmp $USER
